-
Bug
-
Resolution: Fixed
-
Major
-
1.9.0
-
None
-
None
It prevents the user from saving the content and sometimes from opening it.
Conversions.i18n.js:239 Uncaught TypeError: org.ametys.forms.getHandledLayoutClass is not a function(anonymous function) @ Conversions.i18n.js:239org.ametys.forms._onGetContent @ Conversions.i18n.js:220tinymce.create.dispatch @ tiny_mce_src.js:564tinymce.create.getContent @ tiny_mce_src.js:14598tinymce.create.initContentBody @ tiny_mce_src.js:14045tinymce.create.init @ tiny_mce_src.js:13872(anonymous function) @ tiny_mce_src.js:13646(anonymous function) @ tiny_mce_src.js:11005tinymce.each @ tiny_mce_src.js:151loadScripts @ tiny_mce_src.js:11004(anonymous function) @ tiny_mce_src.js:10997done @ tiny_mce_src.js:10837
The issue is that Layout.i18n.js is not imported when there is the right to edit forms is not given to the user. However, we cannot just import it because the function org.ametys.forms.getHandledLayoutClass would then return an empty array.