[ECOMMERCE-381] 'Product list' template appears broken, finally renders 100s of items Created: 30/Mar/21  Updated: 13/Apr/21  Resolved: 09/Apr/21

Status: Closed
Project: E-commerce
Component/s: None
Affects Version/s: 1.2.3
Fix Version/s: 1.2.4

Type: Bug Priority: Major
Reporter: Christopher Zimmermann Assignee: AntonĂ­n Juran
Resolution: Fixed Votes: 0
Labels: VN-Testing
Remaining Estimate: 0d
Time Spent: 2d 7h
Original Estimate: Not Specified

Issue Links:
relation
is related to ECOMMERCE-384 Product Chooser. Implement functional... Open
is related to ECOMMERCE-385 Create component for displaying limit... Closed
is related to ECOMMERCE-386 Implement templating function for fet... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:
Epic Link: Commerce fixes and improvements 1.2.4 - 1.2.5
Sprint: Content Mngmt 01
Story Points: 8

 Description   

Steps to reproduce

  1. Configure SFCC "Apparel Master Catalog" catalog
  2. Add "Product list" component to page
  3. Wait

.. Logs, screenshots, gifs...

Expected results

A list of products is displayed, maybe 20 or 50 maximum items.

Actual results

  • It appears that the component has not worked as one sees nothing in the page editor.
  • Then after 10 seconds one sees this in the Magnolia log "CacheFilter : The following URL took longer than 10 seconds (41044 ms) to render. This might cause timeout exceptions on other requests to the same URI. [url=http://localhost:8080/product-detail/Product-List.html]"
  • Then after another 10 seconds or so the products are rendered in the page editor, when one scrolls down one sees that it has rendered 100s or maybe 1000s of items.

Workaround

Development notes

I think the request should be changed to get the first 20 items.



 Comments   
Comment by AntonĂ­n Juran [ 09/Apr/21 ]

PR for the ticket improves performance of fetching of all products and fetching products by category id in ProductDecorator class. For accomplishment of all requirements of the ticket were created follow up tickets: ECOMMERCE-384, ECOMMERCE-385, ECOMMERCE-386.

Comment by Oanh Thai Hoang [ 12/Apr/21 ]

QA for magento and salesforce.

Generated at Mon Feb 12 01:43:31 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.