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

REST resource to get an attachment is not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.4-milestone-1
    • 2.0 M1
    • REST
    • None
    • Unknown
    • N/A
    • N/A

    Description

      This was supposedly implemented in XWIKI-3179 and then componentized in XWIKI-3855 but the component wasn't added to components.txt and thus it started failing in 2.0M1...

      To test, try this locally (tested on a 6.4-SNAPSHOT version):
      http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Sandbox/pages/WebHome/history/2.1/attachments/XWikiLogo.png

      It'll fail while the following works:
      http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Sandbox/pages/WebHome/history/2.1/attachments

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: