[MGNLUI-6882] New UI RichText field is not rendering images from old UI RichText field Created: 22/Sep/21  Updated: 09/Dec/21  Resolved: 09/Dec/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Mercedes Iruela Assignee: Jaromir Sarf
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2021-09-22 at 12.45.25.png    
Issue Links:
Cloners
clones MGNLUI-6624 RTE image selector embeds context Closed
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
Date of First Response:
Sprint: UI Maintenance 3
Story Points: 2

 Description   

Steps to reproduce

  1.  Make available the legacy pages app in your admincentral (https://demoauthor.magnolia-cms.com/.magnolia/admincentral#app:configuration;/modules/ui-admincentral/config/appLauncherLayout/hiddenApps:edit)
  2.  Allow images in richtext defined within the textImage component in the legacy mtk module  (https://demoauthor.magnolia-cms.com/.magnolia/admincentral#app:resources:edit;/mtk/dialogs/components/textImage.yaml:edit)
  3. Create a new Basic page in Legacy pages app and add a textImage component, add an image to the RichText field and save the dialog.
  4. Go to Resources app an migrate the textImage dialog (mtk) definition to the new ui (you can use the textImage dialog in mtk2) (remember making images available in the richtext field).
  5. Go to new Pages app and open the previously create page and the textImage dialog.

Expected results

Image is displayed in the RichTextField

Actual results

Image is not displayed

Workaround

Development notes

Related to MGNLUI-6527, this ticket is covering the use case in the converter, when the old ui definition is used, but not when the new ui definition is in place (since the converters are not used in this case.

RichTextFieldDefinitionConverter is including a method to do this translation, it might be used as a base for an script.



 Comments   
Comment by Roman Kovařík [ 26/Nov/21 ]

Estimated: check if obsolete

Comment by Jaromir Sarf [ 09/Dec/21 ]

The issue was solved in linked ticket.

Generated at Mon Feb 12 09:40:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.