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

Product Picker. categoryChooserField does not support choosing categories

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.2.4
    • 1.2.3
    • ui, UI&Core

      Steps to reproduce

      •  Configure a dialog using the categoryChooserField where selectProduct = false.
            category: 
              $type: categoryChooserField
              selectProduct: false
        
      •  Open the dialog and browse the categories.

      Expected results

      It is assumed from the name that one can browse the categories and then select one.

      Actual results

      • On selecting a category and clicking "select a category", the choose dialog closes and the corresponding dialog field is empty.
      • Saving the dialog throws a java.lang.ClassCastException: java.lang.String cannot be cast to info.magnolia.ecommerce.app.common.EcommerceTreeItem (see attached)

      Workaround

      No apparent workaround.

      Development notes

        Acceptance criteria

              oanh.thai Oanh Thai Hoang
              chris.jennings Chris Jennings
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 2d 20m
                    2d 20m