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

Confluence Questions in spaces doesn't save and show images

      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

      1. Go to a space
      2. Click question icon on sidebar
      3. Ask a question
      4. DnD an image
      5. Add a topic and save
      6. Clear browser cache and reload the page (CMD + SHIFT + R on Mac) 

      Case 2

      1. Go to CQ dashboard
      2. Ask a question 
      3. Choose a space
      4. Upload an image
      5. Add a topic and save
      6. 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.

      1. Create a new question and save it without any images in it.
      2. Browse to that question again and edit it.
      3. 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.

        1. image-2021-07-02-01-13-26-188.png
          125 kB
          Zac Xu
        2. image-2021-07-02-01-17-38-245.png
          256 kB
          Zac Xu
        3. Screen Recording 2021-06-02 at 3.07.40 pm.mov
          21.36 MB
          Lei Wang

            [CONFSERVER-65541] Confluence Questions in spaces doesn't save and show images

            Steve M made changes -
            Remote Link Original: This issue links to "Page (Confluence)" [ 664764 ]
            Lauretha Rura made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 669478 ]
            Lei Wang made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 664764 ]
            Zac Xu made changes -
            Description Original: h2. *Summary*

            Images attached to initial Confluence Questions are not displayed {_}in another Browser session{_}.

             
            h2. *Testing Environment*

            Confluence 7.9.0 with Confluence Question plugin v2.7.25

            (Also tested this Confluence v7.4.8)
             
            h2. *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.

            !image-2021-07-02-01-17-38-245.png|width=487,height=347!
             
            h2. *Actual Result*

            The image doesn't appear and the browser shows a resource not found error.

            !image-2021-07-02-01-13-26-188.png|width=488,height=351!
            h2. {*}Diagnosis{*}:

            1. Check the URL for the Confluence Question, e.g.:
            {code:java}
            http://localhost:8090/questions/3407895/how-do-i-reset-the-wifi
            {code}
            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{*}:
            {code:java}
            http://localhost:8090/download/attachments/3407893/jstack_analysis2.png?version=1&modificationDate=1520827628523&api=v2
            {code}
            h2. *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]

             

            h2. *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.
            New: h2. *Summary*

            Images attached to initial Confluence Questions are not displayed {_}in another Browser session{_}.

             
            h2. *Testing Environment*

            Confluence 7.9.0 with Confluence Question plugin v2.7.25

            (Also tested this Confluence v7.4.8)
             
            h2. *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.

            !image-2021-07-02-01-17-38-245.png|width=487,height=347!
             
            h2. *Actual Result*

            The image doesn't appear and the browser shows a resource not found error.

            !image-2021-07-02-01-13-26-188.png|width=488,height=351!
            h2. {*}Diagnosis{*}:

            1. Check the URL for the Confluence Question, e.g.:
            {code:java}
            http://localhost:8090/questions/3407895/how-do-i-reset-the-wifi
            {code}
            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{*}:
            {code:java}
            http://localhost:8090/download/attachments/3407893/jstack_analysis2.png?version=1&modificationDate=1520827628523&api=v2
            {code}
            h2. *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]

             
            h2. *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.
            Marco Leist made changes -
            Comment [ Hello Zac,

            unfortunatly, an update to Confluence Questions Plugin 3.0.5 is not beeing shown in the app management even after an update to Confluence 7.13.8.
            The newest questions update i see is 2.7.40
            Should i manually download and install 3.0.5 ?

            Thanks, Marco ]

            Zac Xu added a comment - - edited

            The fixes for LTS versions have been released. Upgrading both Confluence and Confluence Questions Plugin to those versions or above to get attachments working properly.

            • Confluence 7.4.17 + Confluence Questions Plugin 3.0.5
            • Confluence 7.13.7 + Confluence Questions Plugin 3.0.5

            Due to Marketplace limitation, we cannot add LTS minor versions into compatibility range. Even though the Marketplace plugin page says 3.0.5 only supports 7.16.3 above, please be aware of 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.

            Zac Xu added a comment - - edited The fixes for LTS versions have been released. Upgrading both Confluence and Confluence Questions Plugin to those versions or above to get attachments working properly. Confluence 7.4.17 + Confluence Questions Plugin 3.0.5 Confluence 7.13.7 + Confluence Questions Plugin 3.0.5 Due to Marketplace limitation, we cannot add LTS minor versions into compatibility range. Even though the Marketplace plugin page says 3.0.5 only supports 7.16.3 above, please be aware of 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.
            Zac Xu made changes -
            Comment [ The fixes for LTS versions have been released. Customers need to upgrade both Confluence and Confluence Question Plugin 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.

            Cheers. ]
            Zac Xu made changes -
            Description Original: h2. *Summary*

            Images attached to initial Confluence Questions are not displayed _in another Browser session_.

             
            h2. *Testing Environment*

            Confluence 7.9.0 with Confluence Question plugin v2.7.25

            (Also tested this Confluence v7.4.8)
              
            h2. *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.

            !image-2021-07-02-01-17-38-245.png|width=487,height=347!
              
            h2. *Actual Result*

            The image doesn't appear and the browser shows a resource not found error.

            !image-2021-07-02-01-13-26-188.png|width=488,height=351!
            h2. *Diagnosis*:

            1. Check the URL for the Confluence Question, e.g.:
            {code:java}
            http://localhost:8090/questions/3407895/how-do-i-reset-the-wifi
            {code}
            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*:
            {code:java}
            http://localhost:8090/download/attachments/3407893/jstack_analysis2.png?version=1&modificationDate=1520827628523&api=v2
            {code}
            h2. *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]
            New: h2. *Summary*

            Images attached to initial Confluence Questions are not displayed {_}in another Browser session{_}.

             
            h2. *Testing Environment*

            Confluence 7.9.0 with Confluence Question plugin v2.7.25

            (Also tested this Confluence v7.4.8)
             
            h2. *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.

            !image-2021-07-02-01-17-38-245.png|width=487,height=347!
             
            h2. *Actual Result*

            The image doesn't appear and the browser shows a resource not found error.

            !image-2021-07-02-01-13-26-188.png|width=488,height=351!
            h2. {*}Diagnosis{*}:

            1. Check the URL for the Confluence Question, e.g.:
            {code:java}
            http://localhost:8090/questions/3407895/how-do-i-reset-the-wifi
            {code}
            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{*}:
            {code:java}
            http://localhost:8090/download/attachments/3407893/jstack_analysis2.png?version=1&modificationDate=1520827628523&api=v2
            {code}
            h2. *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]

             

            h2. *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.
            Zac Xu made changes -
            Fix Version/s Original: CQ-3.0.2 [ 100202 ]
            Zac Xu made changes -
            Link New: This issue relates to CONFSRVDEV-23342 [ CONFSRVDEV-23342 ]

              zxu2@atlassian.com Zac Xu
              lwang3@atlassian.com Lei Wang
              Affected customers:
              4 This affects my team
              Watchers:
              15 Start watching this issue

                Created:
                Updated:
                Resolved: