Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-1280

Error 500 in Recent Activity when delete group that has View_Topic permission

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3 Larks
    • Fix Version/s: 1.4 Larks
    • Labels:
      None
    • Sprint:
      1.4 Larks

      Description

      Preconditions:
      1.Branch "Test" is created;
      2.Group1 granted permissions View_Topic for branch "Test"
      3. User1 is a member of Group1
      4. Group "Registered Users" doesn`t have any permissions to "Test" branch

      How to reproduce:
      1. Login to Forum as User1
      2. Create topic "Test" in Branch "Test"
      3. Click on Recenta activity link in forum main page
      4. Verify displaying topic Test in a list of recent activities
      5. Go to Admin panel
      6. Delete Group1, in warning dialog give permissions to group "Registered Users"
      7. Go to Forum
      8. Refresh "Recent Activity" page

      AR: Error 500
      ER: No errors

      NOTE: reproduced when deleted group is the only group that has View_Topics permissions. Not reproduced when two or more groups have View_Topic permission and no problem when one group is deleted

        Attachments

          Issue Links

            Activity

            Hide
            ctapobep Stanislav Bashkyrtsev added a comment -

            Any exceptions in logs?

            Show
            ctapobep Stanislav Bashkyrtsev added a comment - Any exceptions in logs?
            Hide
            lena koroteeva Elena Koroteeva added a comment -

            Test Environment

            Chrome

            Steps to reproduce

            Preconditions:
            1.Branch "Test" is created;
            2.Group1 granted permissions View_Topic for branch "Test"
            3. User1 is a member of Group1
            4. Group "Registered Users" doesn`t have any permissions to "Test" branch

            How to reproduce:
            1. Login to Forum as User1
            2. Create topic "Test" in Branch "Test"
            3. Click on Recenta activity link in forum main page
            4. Verify displaying topic Test in a list of recent activities
            5. Go to Admin panel
            6. Delete Group1, in warning dialog give permissions to group "Registered Users"
            7. Go to Forum
            8. Refresh "Recent Activity" page

            AR: "Test" topic not displayed, no errors
            ER: The same

            Test result
            Fixed, can be closed

            Show
            lena koroteeva Elena Koroteeva added a comment - Test Environment Chrome Steps to reproduce Preconditions: 1.Branch "Test" is created; 2.Group1 granted permissions View_Topic for branch "Test" 3. User1 is a member of Group1 4. Group "Registered Users" doesn`t have any permissions to "Test" branch How to reproduce: 1. Login to Forum as User1 2. Create topic "Test" in Branch "Test" 3. Click on Recenta activity link in forum main page 4. Verify displaying topic Test in a list of recent activities 5. Go to Admin panel 6. Delete Group1, in warning dialog give permissions to group "Registered Users" 7. Go to Forum 8. Refresh "Recent Activity" page AR: "Test" topic not displayed, no errors ER: The same Test result Fixed, can be closed

              People

              • Assignee:
                lena koroteeva Elena Koroteeva
                Reporter:
                lena koroteeva Elena Koroteeva
              • Votes:
                0 Vote for this issue
                Watchers:
                Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel