Details
-
Bug
-
Resolution: Done
-
Medium
-
4.4.0, 4.3.3
-
None
Description
Steps to reproduce
- Install Ibexa DXP v3
- Add image
- Create content Article and embed the added image into the intro field
- Publish
- Perform platform updates to 4.4
- Edit the created article and check the image in the intro field
Or
- Install Ibexa DXP v4
- Add image
- Use migration file (Please remember to change the id to id added image in ezcontent://66):
- type: content mode: create metadata: contentType: article mainTranslation: eng-GB creatorId: 14 modificationDate: '2023-02-08T12:25:33+00:00' publicationDate: '2023-02-08T12:23:16+00:00' remoteId: d23035af79ebbac4cf3001d90dd4030c alwaysAvailable: false section: id: 1 identifier: standard location: parentLocationId: 2 parentLocationRemoteId: f3e90596361e31d496d4026eb624c983 locationRemoteId: 3347540238c0d3fec02597dabc4524d6 hidden: false sortField: 1 sortOrder: 1 priority: 0 fields: - fieldDefIdentifier: title languageCode: eng-GB value: 'New article' - fieldDefIdentifier: short_title languageCode: eng-GB value: null - fieldDefIdentifier: author languageCode: eng-GB value: - id: '1' name: 'Administrator User' email: admin@link.invalid - fieldDefIdentifier: intro languageCode: eng-GB value: xml: | <?xml version="1.0" encoding="UTF-8"?> <section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml" xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0"><para>dsadas</para><ezembed xlink:href="ezcontent://66" view="embed" ezxhtml:class="ez-embed-type-image"><ezconfig><ezvalue key="size">medium</ezvalue></ezconfig></ezembed></section> - fieldDefIdentifier: body languageCode: eng-GB value: xml: | <?xml version="1.0" encoding="UTF-8"?> <section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"/> - fieldDefIdentifier: enable_comments languageCode: eng-GB value: false - fieldDefIdentifier: image languageCode: eng-GB value: destinationContentId: null
- Run migration
- Edit the created article and check the image in the intro field
Result
There is an embed icon instead of an image
Expected Result
After a proper update, the image should reappear properly
Note
A problem similar to that with a namespace in rich text after the update. We should extend exists/create a new command that will allow all elements in XML to be updated - We need to check if any other item may still be causing problems
Designs
Attachments
Issue Links
- relates to
-
IBX-4906 Changes in richtext namespaces causes markup to be lost during transformations
- Closed