Uploaded image for project: 'E-commerce'
  1. E-commerce
  2. ECOMMERCE-543

Commerce tools: queries search only within 20 first items

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.3.6
    • 1.3.5
    • None

    Description

      Steps to reproduce

      Prerequisites: Having more than 20 items of a certain category in commerce tools

      + Perform a query to find products by category id: commercetools/connection/336fb6c8-c190-4977-8d31-693029dffad4

                   

      + Check results: only see 20 products

                   

      Expected results

      List containing all products of the given category

      Actual results

      Only 20 results are returned and queries for products beyond those 20 retrieved items aren't found

      Workaround

      Development notes

      +  A limit number is set on 20 by default in query of API.

      So we need to put a limit number in ProductPagedQueryResponse

      https://git.magnolia-cms.com/projects/ADDON/repos/ecommerce/browse/magnolia-ecommerce-commercetools-connector/src/main/java/info/magnolia/ecommerce/commercetools/products/ByCategoryId.java#56

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                asoto Alberto Soto
                jayala Jonathan Ayala
                AuthorX
                Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 5h
                      5h