I have the following error JS console when opening a CFP with a reference attribute containing a value :
[E] Ext.JSON.decode(): You're trying to decode an invalid JSON String: https://mybeautifulurl.local ext-all.js:10401:31 ExtJS 4 setValue http://<redacted>/plugins/core-ui/resources/js/Ametys/form/widget/DefaultWidgets.js:869 _setValuesXMLMetadata http://<redacted>/plugins/core-ui/resources/js/Ametys/form/ConfigurableFormPanel.js:3488 _setValuesXML http://<redacted>/plugins/core-ui/resources/js/Ametys/form/ConfigurableFormPanel.js:3216 setValues http://<redacted>/plugins/core-ui/resources/js/Ametys/form/ConfigurableFormPanel.js:3106 Function ExtJS _fillEditionForm http://<redacted>/plugins/cms/resources/js/Ametys/plugins/cms/content/tool/ContentTool.js:1093
This seems to be a conflict between the CFP that extract the value from the provided JSON value and the Ametys.form.widget.UrlReference widget that expect the complete JSON
- Référence
-
ODF-3463 Perte de l'année porteuse après modification
-
- Closed
-