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

REST page creation fails to set parent

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 8.3
    • Fix Version/s: None
    • Component/s: REST
    • Labels:
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Creating a page via a REST PUT generates a new page in the correct place, but it does not get its parent id set.

      While the page will appear correctly in the web view of ?viewer=children, it will NOT be enumerated by the REST action /children on its parent.

      Marius says "The page "children" REST resource is probably using the parent-child hierarchy which was deprecated in favor of the nested-pages hierarchy starting with XWiki 8.2."

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ddrucker Daniel Drucker
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Date of First Response: