Details
Description
All objects specified in the addedObjects parameter are added with consecutive numbers regardless of the specified xobjectNumbers. This is problematic if in the same request also properties shall be set and they cannot be applied because the object of the specified number doesn't exist. The cause of the bug is in XWikiDocument.readFromForm() where the object ids are simply ignored when creating the new objects.