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

Adding Attachments to Test Steps breaks the Issue

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • Xray DC V6.4.2
    • Attachments, Core
    • None
    • This only affects Jira 9.7

    • Xray 2023 S7
    • UNCOVERED

    Description

      Description

      Adding an attachment to a Test Step completely breaks the issue making it impossible to work with.

      How to reproduce

      1. Create a Test
      2. In a step. add an attachment.

      Actual result/Attachments

      The issue becomes uneditable. We can no longer see the Test Steps.

      Clicking on Edit, we can see the following:

       

      The same exception can be seen in the logs

      2023-03-29 05:50:29,233+0000 http-nio-8080-exec-10 ERROR      [o.a.c.c.C.[.[localhost].[/].[action]] Servlet.service() for servlet [action] in context with path [] threw exception [Filter execution threw an exception] with root cause
      java.lang.NoSuchMethodError: 'void com.atlassian.jira.issue.attachment.FileSystemAttachmentDirectoryAccessor.<init>(com.atlassian.jira.project.ProjectManager, com.atlassian.jira.config.util.AttachmentPathManager)'
          at com.xpandit.raven.attachment.RavenAttachmentUtils.getObfuscatedAttachmentPath(Unknown Source)
          at com.xpandit.raven.rest.api.attachment.beans.AttachmentBeanFactoryImpl.b(Unknown Source)
          at com.xpandit.raven.rest.api.attachment.beans.AttachmentBeanFactoryImpl.a(Unknown Source) 

      Expected result

      Attachments can be added and the steps are viewable and the issue is editable. 

      Version

      • 6.4.1
      • Jira 9.7

      Attachments

        Activity

          People

            roy.mehmood Roy Mehmood
            roy.mehmood Roy Mehmood
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: