|
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.
|