[magnolia-dev] [JIRA] (BLOSSOM-243) BlossomFormDialogPresenter should implement ElementAwareFormDialogPresenter

JIRA (on behalf of Jürgen Ulrich) <jira-O8DnXSz/[email protected]>
Newsgroups gmane.comp.cms.magnolia.devel
Message-ID <[email protected]>
Jürgen Ulrich created an issue

Magnolia Blossom Module / https://jira.magnolia-cms.com/browse/BLOSSOM-243 BLOSSOM-243

BlossomFormDialogPresenter should implement ElementAwareFormDialogPresenter

Issue Type:
Bug

Affects Versions:
3.1.4

Assignee:
Unassigned

Created:
08/Jun/17 11:12 AM

Priority:
Critical

Reporter:
Jürgen Ulrich

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.

https://jira.magnolia-cms.com/browse/BLOSSOM-243#add-comment
Add Comment

This message was sent by Atlassian JIRA (v7.2.6#72008-sha1:26175bf)

----------

----------------------------------------------------------------

For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html

Alternatively, use our forums: http://forum.magnolia-cms.com/

To unsubscribe, E-mail to: <[email protected]>

----------------------------------------------------------------
(unnamed) (image/png, 425 B) - not displayed
(unnamed) (image/png, 1.1 KB) - not displayed
(unnamed) (image/png, 2.9 KB) - not displayed
(unnamed) (image/png, 528 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.