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

invalid (old) data in jcr breaks app in combination with ecommerceProductLinkField

XMLWordPrintable

      Steps to reproduce:

      1. Define a simple content app with a product field.
      2. Create 2 entries in the app
      3. Use the JCR app to simulate one entry with the old structure and one with the new product structure like this:

      OLD: commercetools/magnolia-services-media-demo/bd43e83b-f0ca-46fd-9ebc-f5deae14b646

      NEW: {"definitionName":"commercetools","connectionName":"magnolia-services-media-demo","categoryId":"4d7a73d2-f3bd-475b-9dbe-74888a265d69","productId":"87a4d184-3635-4edc-8ba5-022e7b197b5a"}

             4. Try to open both entries

      Expected result:

      It should be possible to open both nodes. If there is an old structure in JCR, I need to have the chance as an author to change the old data in the new structure.

      Actual result:

      The App is breaking completely with the attached error and the author is not able to change the old data or use this node at all.

       

        Acceptance criteria

          1. ecommerceError.log
            46 kB
            Tobias Kerschbaum
          2. image-2022-05-17-10-06-57-099.png
            59 kB
            Thuy To
          3. image-2022-05-25-16-41-45-703.png
            132 kB
            Thuy To
          4. Screen Shot 2022-05-18 at 14.01.09.png
            1.26 MB
            Dominik Maslanka

              thuy.to Thuy To
              tobias.kerschbaum Tobias Kerschbaum
              AuthorX
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 7d 3h 50m
                    7d 3h 50m