[MULTISITE-13] Error 500 Internal Server Error if Text/Image Component contains a link to a deleted page Created: 08/Jan/14  Updated: 23/Jan/14  Resolved: 08/Jan/14

Status: Closed
Project: Magnolia Multisite Module
Component/s: None
Affects Version/s: 1.0.2
Fix Version/s: 1.0.3

Type: Bug Priority: Neutral
Reporter: Roman Kovařík Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File 1391_error_140107-2.png     File stacktrace    
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
Visible to:
Andreas Metz, Christian Balaguer, Daniel Kummer, Lionel Biry, Pasqual Vossberg, Raphael Joss, Stefan Baur, Thomas Bühler

 Description   

If there is a link to a deleted page in a text image component, the component cannot be edited, there is a error 500.

I reproduced the problem on the demo author: http://demoauthor45.magnolia-cms.com/.magnolia/pages/adminCentral.html

Testcase
Step 1: create two pages "link" and "target"
step 2: edit page "link" and create a text image component with link to page "target"
step 3: delete page "target" completedly
step 4: open the page "link" and the text image component -> the component is not editable with a 500 error



 Comments   
Comment by Roman Kovařík [ 10/Jan/14 ]

https://git.magnolia-cms.com/gitweb/?p=enterprise/multisite.git;a=commitdiff;h=039b7fe0450b4daa3f176891cdafd72483430068

Generated at Mon Feb 12 06:05:34 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.