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

The xobjectNumbers from the addedObjects parameter are ignored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 13.10.1, 14.0-rc-1
    • 12.4-rc-1
    • Old Core
    • None
    • Unit
    • Unknown
    • N/A
    • N/A
    • Awaiting Committer feedback

    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.

      Attachments

        Activity

          People

            MichaelHamann Michael Hamann
            MichaelHamann Michael Hamann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: