[MGNLETK-78] CLONE -Image broken links when using both DMS referencing and user upload Created: 02/May/12  Updated: 03/May/12  Resolved: 03/May/12

Status: Closed
Project: Extended Templating Kit (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: 1.4.5, 2.0.3

Type: Bug Priority: Neutral
Reporter: Matteo Pelucco Assignee: Ondrej Chytil
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

standard magnolia installation on windows/linux


Issue Links:
Cloners
clones MAGNOLIA-3972 Image broken links when using both DM... Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

When using FCK editor image button, there are broken links for images.
Reproduce with:

1) Upload an image to DMS
2) Open a page, new paragraph "textImage"
3) In FCK, upload a new image from your PC. The link is correct (e.g.: /magnoliaAuthor/tmp/fckeditor/22ba03f1-5b9b-11e1-834c-df984c86872c/banner_FlashSubstitute.jpg)
4) Now save and re-edit
5) In FCK, reference a DMS image (see 1.). The previous correct link now is broken (e.g.: /test/test-section/text/mainArea/013/text_files/file/banner_FlashSubstitute.jpg) but the second (dms) is working.

probably related to: http://jira.magnolia-cms.com/browse/MGNLDATA-143

Update from SUPPORT-1566:

IMPORTANT: use magnolia with site recognition based on domain mapping. Otherwise the bug is not visible.


 Comments   
Comment by Jan Haderka [ 02/May/12 ]

Assuming you do the direct class name comparison to avoid getting true in case of using superclass, you might want to mention it in the comment in the code and more importantly you might want to add test to make sure that in case someone changes this code test will fail.

Generated at Mon Feb 12 01:48:16 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.