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

Exception is thrown after click on "cross" button for removing link field value when editing "Product detail" component

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.2.4
    • 1.2.3
    • None
    • None

      Steps to reproduce

      1.  Execute edit action on "Product detail" component
      2.  Click on the "cross" button for removing link field value
      3.  Exception is thrown see attached stacktrace.rtf file.

      Expected result

      Do not throw an exception

       

      Code snippet exception 

      Caused by: java.lang.NullPointerException

      at info.magnolia.ecommerce.app.catalogs.chooser.CategorySelectFieldSupport$1.convertToModel(CategorySelectFieldSupport.java:66) ~[magnolia-ecommerce-ui-1.2.4-SNAPSHOT.jar:?]

      at info.magnolia.ecommerce.app.catalogs.chooser.CategorySelectFieldSupport$1.convertToModel(CategorySelectFieldSupport.java:63) ~[magnolia-ecommerce-ui-1.2.4-SNAPSHOT.jar:?]

      at com.vaadin.data.Converter$2.lambda$convertToModel$5daf174e$1(Converter.java:167) ~[vaadin-server-8.12.4.jar:8.12.4]

        Acceptance criteria

              ajuran Antonín Juran
              ajuran Antonín Juran
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 1d 0.5h
                    1d 0.5h