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

Details

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

    Description

      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]

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              ajuran Antonín Juran
              ajuran Antonín Juran
              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 - 1d 0.5h
                    1d 0.5h