[MGNLETK-123] deleting a node that is linked to in an fckedit field causes an error Created: 14/Aug/13  Updated: 04/Feb/14  Resolved: 04/Feb/14

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

Type: Bug Priority: Neutral
Reporter: Bence Vass Assignee: Jaroslav Simak
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnolia 4.5.10


Issue Links:
duplicate
duplicates MGNLETK-117 Error 500 Internal Server Error if Te... Closed
relation
is related to MGNLETK-122 Link conversion fails which results i... Closed
is related to MGNLETK-124 Deleted page linked in FckEditor caus... Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

If an internal link is added to an fckedit field, and the linked node is subsequently deleted, the component containing this field becomes uneditable. When trying to edit the component, the dialog opens with http status 500.

Exception:
java.lang.NullPointerException
info.magnolia.module.extendedtemplatingkit.ETKURI2RepositoryManager.getSite(ETKURI2RepositoryManager.java:103)
info.magnolia.module.extendedtemplatingkit.ETKURI2RepositoryManager.getURI(ETKURI2RepositoryManager.java:77)
info.magnolia.module.extendedtemplatingkit.ETKURI2RepositoryManager$$EnhancerByCGLIB$$f983c6cd.getURI(<generated>)
info.magnolia.link.AbsolutePathTransformer.transform(AbsolutePathTransformer.java:76)
info.magnolia.link.EditorLinkTransformer.transform(EditorLinkTransformer.java:56)
info.magnolia.link.LinkUtil.convertLinksFromUUIDPattern(LinkUtil.java:158)
info.magnolia.module.fckeditor.dialogs.FckEditorDialog.convertToView(FckEditorDialog.java:477)
info.magnolia.module.fckeditor.dialogs.FckEditorDialog.drawHtml(FckEditorDialog.java:341)
info.magnolia.cms.gui.dialog.DialogControlImpl.drawSubs(DialogControlImpl.java:327)
info.magnolia.cms.gui.dialog.DialogControlImpl.drawHtml(DialogControlImpl.java:171)
info.magnolia.cms.gui.dialog.DialogControlImpl.drawSubs(DialogControlImpl.java:327)
info.magnolia.cms.gui.dialog.DialogControlImpl.drawHtml(DialogControlImpl.java:171)
....



 Comments   
Comment by Jan Haderka [ 16/Aug/13 ]

@Bence are you sure you are reporting problem under the right component?
This project is dedicated to CK Editor integration forge module, while from the stacktrace it looks like you have issue with FCK Editor component shipped w/ Magnolia by default (Project: Magnolia, Component: FCK Editor).
Also since you have issue w/ enterprise version of Magnolia, maybe you want to report this problem as Support issue (Project: Support-Magnolia).
If the above is correct, can you please move this issue as appropriate for you (click "More Actions" in top button bar and then "Move")

Comment by Bence Vass [ 16/Aug/13 ]

Thanks, I've moved the issue.

Comment by Tobias Mattsson [ 04/Dec/13 ]

We should also make sure that this problem is not present in Magnolia 5.

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