Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18989

Cannot upload attachments in annotation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 14.10
    • 12.10.9, 13.7
    • Annotations
    • None
    • Windows 10, IE 11
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      1. Access a page with content and an image in Attachments
      2. Select a word/some words
      3. Press CTRL+M
      4. Click on the Image icon and select the image from attachments > OK
      5. Click on Add annotation
      6. Select another word
      7. Press CTRL+M
      8. Click on the Image icon again and this time add an image from personal device using the Upload > Send it to Server > OK
      9. Click on Add annotation then click on the icon to open it

      Expected results: The images added are shown in each Annotation and in the Comments section.

      Actual results: The images appear broken in both cases, the image used from Attachments appears in the Comments section while the one uploaded doesn't appear at all.

      NOTE: Not working on 12.10.9 either.

      In XWiki console:

      2021-09-21 17:35:57,775 [qtp1464642111-296 - http://localhost:8080/xwiki/bin/download/AnnotationCode/CreateForm/illustration.png?] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 17:35:57,775 [qtp1464642111-296 - http://localhost:8080/xwiki/bin/download/AnnotationCode/CreateForm/illustration.png?] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 17:35:58,629 [qtp1464642111-264 - http://localhost:8080/xwiki/bin/download/AnnotationCode/CreateForm/illustration.png?] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 17:35:58,630 [qtp1464642111-264 - http://localhost:8080/xwiki/bin/download/AnnotationCode/CreateForm/illustration.png?] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 17:36:08,916 [qtp1464642111-264 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/illustration.png] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 17:36:08,917 [qtp1464642111-264 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/illustration.png] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 17:36:26,550 [qtp1464642111-308 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/illustration.png] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 17:36:26,551 [qtp1464642111-308 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/illustration.png] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 17:36:33,476 [qtp1464642111-307 - http://localhost:8080/xwiki/bin/download/AnnotationCode/EditForm/illustration.png] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 17:36:33,476 [qtp1464642111-307 - http://localhost:8080/xwiki/bin/download/AnnotationCode/EditForm/illustration.png] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 17:38:18,710 [qtp1464642111-317 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/illustration.png] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 17:38:18,710 [qtp1464642111-322 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/testing_qa.jpg] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 17:38:18,711 [qtp1464642111-317 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/illustration.png] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 17:38:18,711 [qtp1464642111-322 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/testing_qa.jpg] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 17:38:26,742 [qtp1464642111-289 - http://localhost:8080/xwiki/bin/download/Main/WebHome/testing_qa.jpg] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 17:38:26,742 [qtp1464642111-289 - http://localhost:8080/xwiki/bin/download/Main/WebHome/testing_qa.jpg] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 17:48:59,887 [qtp1464642111-321 - http://localhost:8080/xwiki/bin/download/AnnotationCode/CreateForm/illustration.png?] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 17:48:59,887 [qtp1464642111-321 - http://localhost:8080/xwiki/bin/download/AnnotationCode/CreateForm/illustration.png?] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 17:49:00,389 [qtp1464642111-311 - http://localhost:8080/xwiki/bin/download/AnnotationCode/CreateForm/illustration.png?] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 17:49:00,389 [qtp1464642111-311 - http://localhost:8080/xwiki/bin/download/AnnotationCode/CreateForm/illustration.png?] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 17:50:04,462 [qtp1464642111-548 - http://localhost:8080/xwiki/bin/download/AnnotationCode/CreateForm/illustration.png?] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 17:50:04,462 [qtp1464642111-548 - http://localhost:8080/xwiki/bin/download/AnnotationCode/CreateForm/illustration.png?] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 17:50:04,845 [qtp1464642111-306 - http://localhost:8080/xwiki/bin/download/AnnotationCode/CreateForm/illustration.png?] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 17:50:04,845 [qtp1464642111-306 - http://localhost:8080/xwiki/bin/download/AnnotationCode/CreateForm/illustration.png?] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 17:51:03,622 [qtp1464642111-321 - http://localhost:8080/xwiki/bin/download/AnnotationCode/CreateForm/illustration.png?] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 17:51:03,622 [qtp1464642111-321 - http://localhost:8080/xwiki/bin/download/AnnotationCode/CreateForm/illustration.png?] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 17:53:18,511 [qtp1464642111-549 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/illustration.png] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 17:53:18,512 [qtp1464642111-549 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/illustration.png] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 17:53:30,577 [qtp1464642111-549 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/illustration.png] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 17:53:30,578 [qtp1464642111-549 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/illustration.png] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 17:55:01,753 [qtp1464642111-311 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/illustration.png] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 17:55:01,753 [qtp1464642111-311 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/illustration.png] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 18:04:53,600 [qtp1464642111-308 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/testing_qa.jpg] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 18:04:53,601 [qtp1464642111-308 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/testing_qa.jpg] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 18:06:33,131 [qtp1464642111-321 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/testing_qa.jpg] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 18:06:33,131 [qtp1464642111-321 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/testing_qa.jpg] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 18:07:34,896 [qtp1464642111-308 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/illustration.png] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 18:07:34,897 [qtp1464642111-308 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/illustration.png] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 18:07:36,985 [qtp1464642111-308 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/testing_qa.jpg] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 18:07:36,985 [qtp1464642111-308 - http://localhost:8080/xwiki/bin/download/AnnotationCode/DisplayForm/testing_qa.jpg] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      2021-09-21 18:09:44,965 [qtp1464642111-321 - http://localhost:8080/xwiki/bin/download/Main/WebHome/testing_qa.jpg] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [image]: null
      2021-09-21 18:09:44,965 [qtp1464642111-321 - http://localhost:8080/xwiki/bin/download/Main/WebHome/testing_qa.jpg] WARN  c.x.x.p.XWikiPluginManager     - downloadAttachment failed for plugin [zipexplorer]: null
      

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              ganechitoaei Gabriela Anechitoaei
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: