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

[ScriptTool] Infinite loop while displaying contents

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.3.0
    • 4.3.0
    • None
    • None
    • 4.3 M4, 4.3 RC1

      The reconfigure method is called in an infinite loop after the first call.

      Steps to reproduce :

      1. Open the script tool in the CMS context
      2. Create the script :
        var programs = [];
        jcrXPathQuery("//element(*, ametys:programContent)").forEach(function(program) { programs.push(program); });
        return contents([], programs);
      3. Execute it twice
      4. The second time, the grid is reloaded infinitely

            bmaurel Bérénice Maurel
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: