-
Bug
-
Resolution: Fixed
-
Neutral
-
6.2.28
-
None
-
None
-
-
Empty show more show less
-
Nucleus 30
-
2
Steps to reproduce
- Go to demo and open the Resources Files
- Edit the config-magnolia.js file and set the Images plugin to true
- Move to /mtk2/dialogs/components/textImage.yaml and within the text field (DamRichTextFieldDefinition) include the property:
configJsFile: /.resources/ckeditor/config-magnolia.js
- Open Pages app and create a new page under Basic template
- Edit the page and within the main area, create a Text and Image component
- On the Text tab, hit o the Image plugin and select and image (.e,g ash-edmonds)
- Save selection and save the component
- Go to JCR and inspect the link which has been generated:
<p><img alt="" src="${link:{uuid:{78399215-aed5-4518-9cfc-9b39855f4740},repository:{dam},path:{/tours/ash-edmonds-441220-unsplash},nodeData:{},extension:{jpg}}}" style="height:1080px; width:1620px" /></p>
- Now Back to Pages app edit the component, select the image (clic on it) and hit the Image plugin within the Rich text
- Check the path to the image is properly loaded within the URL field
- Save changes and save the dialog
- Go to JCR and inspect the link which has been generated:
<p><img alt="" src="${link:{uuid:{78399215-aed5-4518-9cfc-9b39855f4740},repository:{dam},path:{/tours/ash-edmonds-441220-unsplash},nodeData:{},extension:{2023-01-27-09-01-42.jpg}}}" style="height:1080px; width:1620px" /></p>
- Check that the extension property which was JPG now has the date included
Expected results
The extension property of the generated link does not include the date
Actual results
The extension property of the generated link does include the date
Workaround
N/A
Development notes
N/A
Acceptance criteria
1.
|
Implementation | Completed | Sang Ngo Huu |
|
||||||||
2.
|
Review | Completed | Jaromir Sarf | |||||||||
3.
|
Pre-int QA | Closed | AntonĂn Juran | |||||||||
4.
|
QA | Completed | Jaromir Sarf |