Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-819

Deleting an attachment from Jira, when the user does not have permissions to do so, displays an 500 error message in the steps details and different messages are displayed for the same situation

    XporterXMLWordPrintable

Details

    Description

      Short Description: Deleting an attachment from Jira when the user does not have permissions to do so, displays an 500 error message in the steps details, an unexpected error when removing the test step itself and a wrong text message in the test run page.

      Steps to Reproduce:

      1 - Pick a project, navigate to the project settings, click in the Permissions menu

      2 - Remove the permissions to delete attachments (it ca be just your own attachments)

      3 - Navigate to a manual test that contains attachments in its steps and select the checkbox to remove the file from Jira

      4 - Press Delete button

      5 - Now, remove the step and select the checkbox to also remove the file

      6 - Do the same for the Test Run

      Actual Result: In step 3, a 500 error message is displayed as a feedback message, in step 5, an unexpected error and in step 6, it states "Error adding evidence in the Test Run" when should state "removing evidence"

      Expected Result: All messages should be similar to each other explaining what has happened and no code 500 should be displayed

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          84 kB
        2. screenshot-2.png
          screenshot-2.png
          162 kB
        3. screenshot-3.png
          screenshot-3.png
          171 kB

        Activity

          People

            ampr Andre Rodrigues [X] (Inactive)
            apsp Ana Patricio
            Votes:
            0 Vote for this issue
            Watchers:
            0 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 - 1 hour, 30 minutes
                1h 30m