Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10498

JS error when editing two or more linked contents from a result grid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.4.0
    • None
    • None
    • None
    • 4.4 M4

      How to reproduce

      • On ODF project, open search tool on courses
      • From search results, edit the course parts of a course that has at least 2 course parts (a lot of courses has course parts in demo data)
      • In dialog box to edit the courses parts, do some modifications for at least 2 lines
      • Save

      A JS error occurred:

      ServerComm.js:910 Uncaught TypeError: Cannot read property 'getById' of null
          at constructor._saveEditionCB (EditContentsGrid.js:1038)
          at constructor.<anonymous> (ServerComm.js:904)
          at Array.forEach (<anonymous>)
          at Object.ExtArray.forEach (ext-all.js:3346)
          at constructor._dispatch (ServerComm.js:899)
          at constructor._onRequestComplete (ServerComm.js:785)
          at Object.callback (ext-all.js:9638)
          at constructor.onComplete (ext-all.js:28413)
          at constructor.onStateChange (ext-all.js:28370)
          at ext-all.js:28360
      

      The modfications have been saved.

      It seems that it occurred when modifying two or more linked contents.

            raphael Raphaƫl Franchet
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: