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

DELETE on objects doesn't work correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.5 M2
    • 2.5 M1
    • REST
    • None
    • Integration
    • Unknown

    Description

      A DELETE request on an object doesn't delete it.

      Steps to reproduce:

      1) Create an object on Main.WebHome (let's say an XWiki.TagClass object whose object number is 3)
      2) curl http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome/objects/TagClass/3
      3) curl -u "Admin:admin" -X "DELETE" http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome/objects/TagClass/3
      4) curl http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome/objects/TagClass/3

      The object is still there.

      Attachments

        Activity

          People

            fmancinelli Fabio Mancinelli
            fmancinelli Fabio Mancinelli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: