-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
None
-
None
In file Widgets.i18.js, if enumeratedValues is null, it causes an error
For example
<cms:metadata name="internshipDurationPeriod" type="string" multiple="true"> <label i18n="true">plugin.odf-ujm:PLUGINS_ODF_PROGRAM_DURATION_PERIOD_INTERNSHIP</label> <description i18n="true">plugin.odf-ujm:PLUGINS_ODF_PROGRAM_DURATION_PERIOD_INTERNSHIP_DESC</description> <custom-enumerator class="org.ametys.odf.enumeration.StaticODFEnumerator"> <constant>INTERNSHIP_DURATION_PERIOD</constant> </custom-enumerator> <restrict-to> <right read-write-direction="write" id="ODF_Program_Stages_Rights"/> </restrict-to> </cms:metadata>
In this example, the tag enumeration is missing, this is a mistake that cause a JS error which is not easy to debug.