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

Blossom dialogs broken on 6.1.x DX Core but 6.1 Community works fine

    XMLWordPrintable

Details

    • Bug
    • Resolution: Workaround exists
    • Critical
    • None
    • 3.3
    • None
    • None
    • Magnolia 6.1.3 DX Core

    Description

      When registering a simple blossom component on Magnolia 6.1.3 DX Core, dialogs are broken.

      The component can be registered and added to a page without problems. But when trying to modify it the edit component action throws the following exception:

      java.lang.ClassCastException: info.magnolia.module.blossom.dialog.BlossomFormDialogPresenter cannot be cast to info.magnolia.personalization.ui.pages.dialog.ElementAwareFormDialogPresenter
      

      Full stacktrace log is attached.

      When trying the same blossom component on Magnolia 6.1.3 Community the dialog shows just fine and the component can be edited without any issues. (Probably because the community bundle doesn't have personalization modules installed).

      The sample module used to test this issue can be found here:

      https://github.com/ebguilbert/cart-blossom

      The steps to reproduce the issue are:

      1. Create a basic template page
      2. Add cart blossom component to the footer area
      3. Fill-in the dialog and save.
      4. Try to edit the component.

       

      Screenshots for community working and DX Core not working are also attached.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              ebguilbert Edwin Guilbert
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD