Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-1037

Exception when trying to open content item whose asset was deleted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.0.0, 3.0.18
    • 3.0.16, 4.0.0
    • None

      Authors can no longer open (and therefore) edit or read a content item whose asset has been deleted.

      To reproduce:

      Upload an image in Assets app.

      Create item in content app with an asset property. And select the uploaded image and save.

      Delete the image from within the Assets app.

      Try to edit the item in the content item.

      Expected:

      I can edit and the asset property shows that the asset is missing.

      Actual:

      Get an exception and cannot open the item.

       

      Sub-app failed to start: detail
      
      
      Message: Invocation of method selectionChange in com.vaadin.ui.ComboBox$$Lambda$2450/0x00000001013f4040 failed.. Stack trace: com.vaadin.event.ListenerMethod$MethodException: Invocation of method selectionChange in com.vaadin.ui.ComboBox$$Lambda$2450/0x00000001013f4040 failed. at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:726) at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:399)

       

      Note:

      I have only tested on SaaS. Problem should be fixed on SaaS - and if it happens on OnPrem as well it also be fixed there.. Might be general issue with external-assets.

      
      

        Acceptance criteria

              jalonso Jesus Alonso
              czimmermann Christopher Zimmermann
              AuthorX
              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 - 1h 23m
                    1h 23m