Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
Description
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)
---------------