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

REST resource to get an attachment is not working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0 M1
    • Fix Version/s: 6.4-milestone-1
    • Component/s: REST
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: