-
Bug
-
Resolution: Fixed
-
Major
-
1.3.5
-
None
-
-
Yes
-
Empty show more show less
The Redirect template shows Freemarker error in edit mode when redirect target is an external URL.
To reproduce:
- log in to demoauthor http://demoauthor.magnolia-cms.com/.magnolia/pages/adminCentral.html
- create a page using the template "Redirect"
- open the page, edit the page properties
- use an external link, e.g. "http://www.magnolia-cms.com/"
- save
Result: Freemarker error:
No signature of method createLink matches the arguments
The problematic instruction:
----------
==> ${mgnl.createLink(mgnl.getContent(content.path))!''} [on line 5, column 18 in templating-kit/templates/functional/redirect.ftl]
----------
Expected result:
Some info like "This page will redirect to http://www.magnolia-cms.com/" (as it is with internal links, which is working correctly)
Acceptance criteria