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

Wrong yaml config prevent Ecommerce app for working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 1.2.5, 1.3
    • 1.2.4
    • None

    Description

      Steps to reproduce

      1.  Prepare commerce yaml config as below:
      2. class: info.magnolia.ecommerce.common.EcommerceDefinition
        type: commercetools
        enabled: true
        implementation:
          products:
            all: info.magnolia.ecommerce.commercetools.products.All
            byId: info.magnolia.ecommerce.commercetools.products.ById
            byCategoryId: info.magnolia.ecommerce.commercetools.products.ByCategoryId
            searchByText: info.magnolia.ecommerce.commercetools.products.SearchByText
          categories:
            all: info.magnolia.ecommerce.commercetools.categories.All
            byId: info.magnolia.ecommerce.commercetools.categories.ById
            byParentCategoryId: info.magnolia.ecommerce.commercetools.categories.ByParentCategoryId
            byProductId: info.magnolia.ecommerce.commercetools.categories.ByProductId
          connectionValidator: info.magnolia.ecommerce.commercetools.common.CommercetoolsConnectionValidator
        connections:
          connection:
            authUrl: https://auth.sphere.io
            parameters:
        #      clientId: r8kKIO7hq9_1LJI7XiD8r5ud
        #      clientSecret: eY3n0_LOr5iEZq703xAaog89RYGF3Rpc
        #      apiUrl: https://api.sphere.io
        #      projectKey: magnolia-integration
        
      1. See infinitive logs and error log in app as well 

      .. Logs, screenshots, gifs...

      Expected results

      Do not prevent ecommerce app for continue working with another valid connector

      Actual results

      Workaround

      Development notes

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                thien.quach Quach Hao Thien
                oanh.thai Oanh Thai Hoang
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 2.75d
                      2.75d