Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2029

[Scheduler] Error when opening the create a task dialog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M8
    • 4.0M7
    • None
    • None

      1. Open the scheduler tool and click on 'new task'
      2. 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))

            laurence Laurence Aumeunier
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: