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

Unexpected path when using partial reference in parent field of Create

    XMLWordPrintable

Details

    • Integration
    • Unknown
    • N/A
    • N/A

    Description

      Reproduction steps:

      • Ensure you use an advanced user
      • Click on create page button from Main.WebHome
      • Click on the pencil in "Location" to open advanced fields
      • In "Parent" field put ".X..Y."
      • In "Name" field put "Test"
      • Click create

      Expected result:

      • the create button should be disabled and a message should appear saying that the Parent reference is wrong

      Obtained result:

      • Clicking on create leads to a page with URL: "edit/Main/X/Main/Y/Main/Test/WebHome" and saving it creates a page with corresponding reference "Main.X.Main.Y.Main.Test.WebHome"

      Note that "Main" here appears because we started from "Main.WebHome" it would be different if starting from a different space.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: