-
Bug
-
Resolution: Fixed
-
Low
-
7.9.0
-
None
-
4
-
Severity 3 - Minor
-
2
-
Summary
Images attached to initial Confluence Questions are not displayed in another Browser session.
Testing Environment
Confluence 7.9.0 with Confluence Question plugin v2.7.25
(Also tested this Confluence v7.4.8)
Steps to Reproduce
Case 1
- Go to a space
- Click question icon on sidebar
- Ask a question
- DnD an image
- Add a topic and save
- Clear browser cache and reload the page (CMD + SHIFT + R on Mac)
Case 2
- Go to CQ dashboard
- Ask a question
- Choose a space
- Upload an image
- Add a topic and save
- Clear browser cache and reload the page (CMD + SHIFT + R on Mac)
Expected Result
The image show up correctly as the user uploaded.
Actual Result
The image doesn't appear and the browser shows a resource not found error.
Diagnosis:
1. Check the URL for the Confluence Question, e.g.:
http://localhost:8090/questions/3407895/how-do-i-reset-the-wifi
2. Right click on the broken image of the initial Confluence Question post and the ID after the attachments does not match to the above Question URL, e.g. image is linking to 3407893 and not the above 3407895:
http://localhost:8090/download/attachments/3407893/jstack_analysis2.png?version=1&modificationDate=1520827628523&api=v2
Workaround - for New Questions
The following procedure is not a scalable workaround, but works.
- Create a new question and save it without any images in it.
- Browse to that question again and edit it.
- Upload the images required in the question and save it.
Video attached on how to reproduce the issue:
Screen Recording 2021-06-02 at 3.07.40 pm.mov
Resolution:
The fixes for LTS versions have been released. Upgrading both Confluence and Confluence Question Plugin to the below versions to get attachments working properly.
- Confluence 7.4.17 + CQ 3.0.5
- Confluence 7.13.7 + CQ 3.0.5
Due to Marketplace limitation, we cannot add LTS minor versions into compatibility range. Even though the Marketplace plugin page says CQ 3.0.5 only supports 7.16.3 above, please be aware that 3.0.5 has been fully tested with 7.4.17 and 7.13.7. The jar file could be downloaded and installed manually through Marketplace.
- is cloned from
-
CONFSERVER-55142 Images in Questions for Confluence don't work
- Closed
- is duplicated by
-
CONFSERVER-68726 Dragging and dropping images does not work under Questions for Confluence plugin
- Closed
- Testing discovered
-
CONFSERVER-77166 When using GoEdit to edit an attachment replace causes a StaleObjectStateException
- Closed