Submitting a form will result in Freemarker error
-------------------------------------------------

                 Key: MGNLFORM-12
                 URL: http://jira.magnolia-cms.com/browse/MGNLFORM-12
             Project: Magnolia Form Module
          Issue Type: Bug
            Reporter: Boris Kraft
            Assignee: Teresa Miyar


Simply creating a form an pressing submit will not work:


Expression content.errorTitle is undefined on line 11, column 19 in 
form/paragraphs/form.ftl.
The problematic instruction:
----------
==> ${content.errorTitle} [on line 11, column 17 in form/paragraphs/form.ftl]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression content.errorTitle is 
undefined on line 11, column 19 in form/paragraphs/form.ftl.
        at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
        at freemarker.core.Expression.getStringValue(Expression.java:118)
        at freemarker.core.Expression.getStringValue(Expression.java:93)


Apparently one has to set an Error message that is triggered when the 
validation fails.

Please make sure that in such a case, the user gets a useful message like 
"Please define an error message in the Forms dialog". Even better, the field 
"Error MEssage" should either be required or default sensibly to a message like 
"Please review your submission".




-- 
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: <[email protected]>
----------------------------------------------------------------

Reply via email to