Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-8374

When using Repository Permissions, an error is thrown and the page hangs if a user tries to delete his own Folder, without having permission to.

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 6.1.0
    • 6.1.2
    • None
    • Xray 2022 S4
    • NOK

    Description

      Steps to recreate:

      • Add permission to Delete own folders to Jira admins.
      • Log in as a normal user and  go to the test repository
      • Create a folder
      • Try to delete the folder.

      Expected Result:
      Delete option should not be visible or delete should not be clickable.

      Actual Result:
      Delete option is available and the delete happens; Jira page may hang and  Logs will be generated like the below: 

      2022-02-25 15:19:30,164-0300 http-nio-8081-exec-20 ERROR xxxxx 919x1210x1 rrwo24 0:0:0:0:0:0:0:1 /rest/raven/1.0/folderStructure/delete [c.x.raven.util.a] Column "TEST" not found; SQL statement:2022-02-25 15:19:30,164-0300 http-nio-8081-exec-20 ERROR techzin 919x1210x1 rrwo24 0:0:0:0:0:0:0:1 /rest/raven/1.0/folderStructure/delete

      Attachments

        Activity

          People

            masg Marco Guedes
            drcs Douglas Souza [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours, 50 minutes
                7h 50m