- Add two objects of the same class to a page.
- Use the REST API to get a list of all objects of that class on that page. I created two AppWithinMinutes.String objects on Main.WebHome, so I went to http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome/objects/AppWithinMinutes.String
- Delete the first object (object 0) from the page.
- Retry step 2.
Expected result: An XML document that lists and describes the remaining object (object 1).
Actual result: 500 Internal Server Error
The same problem happens if you create three objects and then delete the one in the middle.