[ http://jira.magnolia-cms.com/browse/MGNLSTK-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vivian Steller updated MGNLSTK-696: ----------------------------------- Attachment: redirect.ftl use the following redirect.ftl file to fix the issue > Redirect template shows Freemarker error in edit mode when redirect target is > an external URL > --------------------------------------------------------------------------------------------- > > Key: MGNLSTK-696 > URL: http://jira.magnolia-cms.com/browse/MGNLSTK-696 > Project: Magnolia Standard Templating Kit > Issue Type: Bug > Components: templates > Affects Versions: 1.3.5 > Reporter: Vivian Steller > Assignee: Zdenek Skodik > Attachments: redirect.ftl > > Original Estimate: 0.25h > Remaining Estimate: 0.25h > > 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) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------