Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Trunk
-
None
Description
When editing a question in Content --> Survey which has a "Selected Option" Question Type, the page does not allow for the creation of a Question Option.
Live URL: https://demo.ofbiz.org/content/control/EditSurveyQuestions?surveyId=1002&surveyQuestionId=1033#edit
A stack trace is shown:
Method public java.io.StringWriter org.ofbiz.widget.html.HtmlFormWrapper.renderFormString() throws java.io.IOException threw an exception when invoked on org.ofbiz.widget.html.HtmlFormWrapper@1f304b8 with arguments of types [] The problematic instruction: ---------- ==> ${createSurveyOptionWrapper.renderFormString()} [on line 306, column 5 in component://content/webapp/content/survey/EditSurveyQuestions.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public java.io.StringWriter org.ofbiz.widget.html.HtmlFormWrapper.renderFormString() throws java.io.IOException threw an exception when invoked on org.ofbiz.widget.html.HtmlFormWrapper@1f304b8 with arguments of types [] at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:134) at fr
...
Caused by: java.lang.NullPointerException at org.ofbiz.widget.form.ModelFormField$EntityOptions.addOptionValues(ModelFormField.java:1722) at org.ofbiz.widget.form.ModelFormField$FieldInfoWithOptions.getAllOptionValues(ModelFormField.java:1526) at org.ofbiz.widget.html.HtmlFormRenderer.renderDropDownField(HtmlFormRenderer.java:697
Attachments
Attachments
Issue Links
- is depended upon by
-
OFBIZ-4878 Remove Survey Question Option not working.
- Closed
-
OFBIZ-4879 Edit Survey Question option not working
- Closed