[MAGNOLIA-1427] Changing a Page Name breaks images in Editor Paragraphs therein Created: 08/Mar/07  Updated: 18/Feb/14  Resolved: 13/Jun/07

Status: Closed
Project: Magnolia
Component/s: samples
Affects Version/s: 3.0.1
Fix Version/s: 3.1 M2

Type: Bug Priority: Minor
Reporter: Sean McMains Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
is duplicated by MAGNOLIA-1576 fckEditor: renaming a page cointaing ... 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:

 Description   

If one changes the name of a page, any images within Samples: Editor paragraphs break.

To reproduce:

1. Create a new page named "test"
2. Within that page, create a "Samples: Editor" paragraph
3. Add a picture to the new paragraph. Save it.
4. Change the page name from "test" to "new-test"
5. View the page at its new path. The images do not appear, as they still point to the old path.

Workaround: Editing the affected paragraph and saving it again fixes the problem.



 Comments   
Comment by Philipp Bracher [ 07/Jun/07 ]

The links to the images are relative what looks like a good idea, but the relative link has to start with the page name:
page1:
relative link: page1/column1/0/content_files/file0

If you rename page1 to page2 the upper link is wrong.

I will change this by using the same mechanism we use for links to other pages (saving uuid).

Generated at Mon Feb 12 03:26:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.