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

Infinite loop on comments tools when the user has no right to moderate the comments on content

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.8, 4.3.0
    • 4.2.7, 4.3.0
    • None
    • None

      When the user has right to moderate comments and reports on the general context but not on the contents themself, there is a infinite loop, the tool is refreshed indefinitely.

      The server answer is

      {"comments":[{"authorEmail":"julien.bourak@ametys.org","authorName":"Julien Bourak","contentId":"defaultWebContent://1e48124b-ecd3-460e-95d7-71f28ae6fd55","commentId":"","contentTitle":"Nouvelle
       brève","text":"Nouvelle 
      brève","creationDate":"2019-11-06T14:40:29.960+01:00","reportsCount":1}]}
       

      comments: [] property is missing

          [CMS-10094] Infinite loop on comments tools when the user has no right to moderate the comments on content

          There are no comments yet on this issue.

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

              Created:
              Updated:
              Resolved: