-
Bug
-
Resolution: Fixed
-
Major
-
1.4.1
-
None
-
None
-
-
Empty show more show less
Broken links in FCKEditor lead to NPE with site resolution for link transformation.
This is very disturbing for contributors because the rendered paragraph is not displayed at all.
Here is some debugging trace :
- LinkUtil:156 --> use LinkFactory to create the link
- LinkFactory:184 --> catch LinkException (uuid not found)
- LinkFactory:187 --> catch PathNotFoucndException
- LinkFactory:191 --> create new Link with uuid
- LinkUtil:157 --> use transformer to transform the link
- CompoundLinkTransformer:44 --> get assigned site with link.getNode(), which is null
- ETKSiteManager:48 --> NPE with content.getHandle()
CompoundLinkTransformer must handle this NPE.
It might just return the link uuid if node is null.
Acceptance criteria
- is duplicated by
-
MAGNOLIA-3685 Removing documents from DMS without removing the link from fckEditor control throws a NullPointerException
- Closed
- is related to
-
MGNLETK-122 Link conversion fails which results in error while opening dialog
- Closed