[MGNLDAM-762] Fix import for MagnoliaRichTextField Created: 26/Sep/18 Updated: 03/Oct/18 Resolved: 03/Oct/18 |
|
| Status: | Closed |
| Project: | Magnolia DAM Module |
| Component/s: | DAM App |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Federico Grilli | Assignee: | Unassigned |
| Resolution: | Outdated | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||
| Description |
|
Magnolia5 rich text field has moved to a v7 subpackage which causes backward compatibility issues. For instance, on our demo, trying to edit the text and image component at /travel/contact will throw
Caused by: java.lang.ClassCastException: info.magnolia.ui.vaadin.richtext.v7.MagnoliaRichTextField cannot be cast to info.magnolia.ui.vaadin.richtext.MagnoliaRichTextField
at info.magnolia.dam.app.ui.field.factory.AssetsEnabledRichTextFieldFactory.createFieldComponent(AssetsEnabledRichTextFieldFactory.java:109) ~[magnolia-dam-app-2.4.1.jar:?]
at info.magnolia.ui.form.field.factory.AbstractFieldFactory.createField(AbstractFieldFactory.java:145) ~[magnolia-ui-framework-compatibility-6.0-SNAPSHOT.jar:?]
|