-
Bug
-
Resolution: Fixed
-
Major
-
4.0M7
-
None
-
None
- Open the scheduler tool and click on 'new task'
- Getting the following JS error and cms is inaccessible:
Une erreur est survenue dans le traitement de la réponse serveur (TypeError: Cannot read property 'split' of null) TypeError: Cannot read property 'split' of null at window.CodeMirror.splitLines (http://localhost:39006/cms/plugins/codemirror/resources/js/codemirror.js:5820:37) at setValue (http://localhost:39006/cms/plugins/codemirror/resources/js/codemirror.js:4996:31) at .setValue (http://localhost:39006/cms/plugins/codemirror/resources/js/codemirror.js:5217:40) at constructor.setValue (http://localhost:39006/cms/plugins/core-ui/resources/js/Ametys/form/field/Code.js:182:30) at constructor._init (http://localhost:39006/cms/plugins/core-ui/resources/js/Ametys/form/field/Code.js:199:18) at constructor.fire (http://localhost:39006/cms/plugins/extjs6/resources/ext-all-debug.js:20326:32) at constructor.doFireEvent (http://localhost:39006/cms/plugins/extjs6/resources/ext-all-debug.js:21244:47) at constructor.doFireEvent (http://localhost:39006/cms/plugins/extjs6/resources/ext-all-debug.js:65377:52) at constructor.prototype.doFireEvent (http://localhost:39006/cms/plugins/extjs6/resources/ext-all-debug.js:55078:35) at constructor.fireEventArgs (http://localhost:39006/cms/plugins/extjs6/resources/ext-all-debug.js:21097:26)
In Code.js, consider replacing line 196 with
if (!Ext.isEmpty(this._futureValue))