Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-55241

Image broken on Question in a space for anonymous users

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • 6.2.1
    • None

    Description

      Summary

      • If the user is logged in, the text and the image of the question are visible
      • If the user is logged out, only the text is visible . the image is not visible broken image icon
      • When asking a question not in a space with an attached image to the question. It works OK in both cases (user logged in, or not)

      Environment

      • 6.2.1 All browsers ( Chrome - Safari - Firefox)Anonymous access and view granted for space/globally and for questions

      Steps to Reproduce

      Scenario 1

      1. Create question in a space
      2. Attach image

        Actual Results

      • For logged in users > image is ok
      • For anonymous users > image is broken

      Scenario 2

      1. Create question not related to space
      2. Attach image to question

        Actual Results

      • Image broken for anonymous users when question related to space

      Expected Results

      • Image available either question in space or not

        Notes

      • attached screenshot of images

      The below exception is thrown in the confluence.log file:

      2018-03-23 10:49:38,382 WARN [http-nio-2020-exec-5] [atlassian.confluence.pages.DefaultAttachmentManager] getAttachmentData Could not find data for attachment: Attachment: Aerial07.png v.1 (65619) admin - com.atlassian.confluence.pages.persistence.dao.filesystem.AttachmentDataFileSystemException: No such file for Attachment: Aerial07.png v.1 (65619) admin. Were looking at /atlassian-conf6.2.1/Home/attachments/ver003/nonspaced/116/65/65616/65619/1
      	at com.atlassian.confluence.pages.attachments.CachingAttachmentDao.saveNewAttachment(CachingAttachmentDao.java:179)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              srezkalla@atlassian.com Sarah Rezkalla (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated: