Add the ability to share Object attachment image URL so that it doesn't download the file (Regression)

XMLWordPrintable

    • 1
    • Severity 2 - Major

      Issue Summary

      Since the introduction of new object view, there's a change in the object attachment URL. Users are no longer able to share a preview link to object attachment images. This used to work in old object view.

      Steps to Reproduce

      1. Install newer Insight version v8.7.x or 9.0.x
      2. Add an attachment image to any object
      3. Copy the URL of the attachment and open it in a new tab

      Expected Results

      Users get to see the image on the browser itself

      Actual Results

      The attachment is downloaded in the local computer

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Notes:

      Tested in-house on Insight v8.3.4. The object attachment link used to be something which doesn't download images but shows on the browser like Jira attachments.

      • URL pattern on v8.3.4:
        http://XXXXXXXXXX/plugins/servlet/com.riadalabs.jira.plugins.insight/attachment/1/<IMAGE.JPEG>
        
      • URL pattern on Insight v9.0.2:
        http://XXXXXXX/rest/insight/1.0/attachments/3
        

      So looks like it's definitely something which changed with the new object page. The attachment link changed from a servlet to direct REST API.

            Assignee:
            François Dénommée (Inactive)
            Reporter:
            Suddha
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: