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

          Laurence Aumeunier made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Laurence Aumeunier made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.2.8 [ 15529 ]
          Fix Version/s Original: 4.1.20 [ 15530 ]
          Laurence Aumeunier made changes -
          Affects Version/s New: 4.2.7 [ 15517 ]
          Affects Version/s New: 4.3.0 [ 14678 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.1.20 [ 15530 ]
          Laurence Aumeunier created issue -

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

              Created:
              Updated:
              Resolved: