Uploaded image for project: 'Forms'
  1. Forms
  2. FORMS-524

JS error when renaming a folder or a form in the tool if right assignment tool is opened

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 2.15.0
    • 2.15.0
    • Form edition
    • None
    • 4.6 RC4

      How to reproduce

      • Open rights assignment tool and display form tree
      • Open forms tool and create or rename folder or form

      A JS error occured

      TypeError: Cannot read properties of null (reading 'getNodeById')
      TypeError: Cannot read properties of null (reading 'getNodeById')
      at constructor.reloadParent (http://localhost:8080/cms/plugins/forms/resources/js/Ametys/plugins/forms/tree/FormDirectoriesTree.js:663:26)
      at ctor._onModifiedOrDeletionMessage (http://localhost:8080/cms/plugins/forms/resources/js/Ametys/plugins/forms/FormsDirectoryRightAssignmentContext.js:142:24) 

      Error is still present even if rights assignment tool is closed (form tree not destroyed ?)
      We need to reset workspace.

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: