[
http://jira.magnolia-cms.com/browse/MGNLFORM-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Teresa Miyar resolved MGNLFORM-7.
---------------------------------
Fix Version/s: 1.0
Resolution: Fixed
> The text field group requires a field name otherwise it throws an error
> -----------------------------------------------------------------------
>
> Key: MGNLFORM-7
> URL: http://jira.magnolia-cms.com/browse/MGNLFORM-7
> Project: Magnolia Form Module
> Issue Type: Bug
> Reporter: Boris Kraft
> Assignee: Teresa Miyar
> Fix For: 1.0
>
>
> If I create a text field group, the dialog just states that I am unable to
> reference the text fields unless I give the group a name. Since the field is
> not required, if I leave it empty (because I don't care about referencing the
> text fields ;-)) I get the error below.
> I suggest to simply use default group names (prepopulate the group name with
> group-1 to n). And make the field mandatory. Also, the template should
> probably handle it more gracefully if no such group name exists - it should
> work because the group name is not required.
> FreeMarker template error!
> Expression content.controlName is undefined on line 3, column 12 in
> form/paragraphs/formGroupEdit.ftl.
> The problematic instruction:
> ----------
> ==> ${content.controlName} [on line 3, column 10 in
> form/paragraphs/formGroupEdit.ftl]
> ----------
> Java backtrace for programmers:
> ----------
> freemarker.core.InvalidReferenceException: Expression content.controlName is
> undefined on line 3, column 12 in form/paragraphs/formGroupEdit.ftl.
> at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
> at freemarker.core.Expression.getStringValue(Expression.java:118)
> ---------------
--
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]>
----------------------------------------------------------------