Uploaded image for project: 'Blossom'
  1. Blossom
  2. BLOSSOM-243

BlossomFormDialogPresenter should implement ElementAwareFormDialogPresenter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Critical
    • None
    • 3.1.4
    • None

    Description

      As the release notes of Magnolia 5.5.4 describes, Blossom can be used together with personalization.
      After upgrading to 5.5.4 we get an ClassCastException in EditVariantAction.java in line 82.

      info.magnolia.ui.api.action.ActionExecutionException: Action execution failed for action: editComponent
      ...
      Caused by: java.lang.ClassCastException: info.magnolia.module.blossom.dialog.BlossomFormDialogPresenter cannot be cast to info.magnolia.personalization.ui.pages.dialog.ElementAwareFormDialogPresenter
      

      When we set the formDialogPresenterClass as described in BLOSSOM-242 we receive an empty dialog for components in Magnolia Author.
      We fixed this by implementing an own presenter which extends the BlossomFormDialogPresenter and implements the ElementAwareFormDialogPresenter interface. I think this should be done directly by the BlossomFormDialogPresenter.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              juergenulrich Jürgen Ulrich
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD