-
Bug
-
Resolution: Fixed
-
Major
-
4.3.8
-
This issue was observed under Windows 7, Tomcat 5.5.27 - but I don'zt think the environment is relevant
The current implementation of Link-Conversion cannot handle missing UUID links within rich-text fields.
When rendering paragraphs, the error simply causes the entire content of the rich-text field not to display at all.
When checking for existence (myfield??), an exception thrown by LinkUtil breaks template processing completely, resulting in a blank page.
This is a big problem for anyone using fckeditor...
Expected behaviour: render the link as "#", which will produce a dead link, but at least generate the normal output for the rest of the page.
To reproduce the problem:
Create a template which renders content from an fckEditor input.
Create a new image in DMS.
Create a page with your template, and insert the DMS-image in the FCKEditor content area.
Save the page, everything should display as expected.
Now go to DMS, and delete the image.
Reload the page, and your fckEditor field will not display.
Now insert a test for existence in the template (myeditorfield??).
Reload the page, and nothing will display (blank page).
Check the console or debug log, and you will see the exception.
- is related to
-
MAGNOLIA-1720 Freemarker : process links (using LinkUtil as in out tag)
- Closed
-
MAGNOLIA-1762 Improve links processing in freemarker templates
- Closed