-
Bug
-
Resolution: Fixed
-
Major
-
4.8.0
-
None
-
None
-
4.8.0 M9
Dans le course.xml, nous avons maintenant le mccRegime sous forme de table de référence défini comme suit :
<attribute name="mccRegime" type="content" contentType="odf-enumeration.MccRegime">
J'ai ajouté une disable-condition sur le repeater mccSession2 :
<disable-conditions type="or"> <condition id="isEvaluated" operator="eq">false</condition> <condition id="mccRegime/code" operator="eq">CCI</condition> </disable-conditions>
Quand j'ouvre un ELP en modification, je rencontre cette erreur :
TypeError: Cannot read properties of null (reading 'on') TypeError: Cannot read properties of null (reading 'on') at constructor._addDisableConditionsListeners (http://odfweb1b.adele.anyware.corp:10007/cms/plugins/core-ui/resources/js/Ametys/form/ConfigurableFormPanel.js:3972:39) at constructor._addRepeater (http://odfweb1b.adele.anyware.corp:10007/cms/plugins/core-ui/resources/js/Ametys/form/ConfigurableFormPanel.js:2153:18) at constructor._configureRepeaterJSON (http://odfweb1b.adele.anyware.corp:10007/cms/plugins/core-ui/resources/js/Ametys/form/ConfigurableFormPanel.js:2644:14) at constructor._configureJSON (http://odfweb1b.adele.anyware.corp:10007/cms/plugins/core-ui/resources/js/Ametys/form/ConfigurableFormPanel.js:2457:26) at constructor._configureTabsJSON (http://odfweb1b.adele.anyware.corp:10007/cms/plugins/core-ui/resources/js/Ametys/form/ConfigurableFormPanel.js:2862:22) at constructor._configureJSON (http://odfweb1b.adele.anyware.corp:10007/cms/plugins/core-ui/resources/js/Ametys/form/ConfigurableFormPanel.js:2466:14) at constructor.configure (http://odfweb1b.adele.anyware.corp:10007/cms/plugins/core-ui/resources/js/Ametys/form/ConfigurableFormPanel.js:2372:14) at constructor.configure (http://odfweb1b.adele.anyware.corp:10007/cms/plugins/extjs7/resources/ext-all.js:7497:94) at constructor._drawEditionForm (http://odfweb1b.adele.anyware.corp:10007/cms/plugins/cms/resources/js/Ametys/plugins/cms/content/tool/ContentTool.js:884:23) at constructor.<anonymous> (http://odfweb1b.adele.anyware.corp:10007/cms/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:625:33)