XWiki Platform
  1. XWiki Platform
  2. XWIKI-6381

'Target space' defaulting to parent space

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3-milestone-1
    • Component/s: Office
    • Labels:
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:
      XWIKI-5374When the parent is missing set the space WebHome as a parent
      XWIKI-10344Make customizable default Parent and Space in Application Within Minutes
      XWIKI-5955WebPreferences page of newly created spaces has no parent and reported as orphan
      XWIKI-4903Improve Page/Space creation template
      XWIKI-7572Wrong parent set when creating a space using the Space Dashboard template
      XWIKI-7448Wrong parent of WebHome when creating a Space using Space Dashboard Template
      XWIKI-5898Add page space and parent support in livetable options
      XWIKI-6378Automatically generate target-space text field value from request URL
      XWIKI-8785Imported document gets their parent resolved against the default resolver
      XWIKI-6561Added document from Office creates document in XWiki space if no target space specified

      Description

      When using Add > Page from Office, the field "Target space" is empty. It could default to the space OfficeImporter was called from, as the user is most likely to want the new document(s) in the same space.

      Already the argument "parent=" is given, so the space-part from that value can be used.

      For instance:
      /view/XWiki/OfficeImporter?&parent=Sandbox.WebHome
      Target space should be: "Sandbox"

        Issue Links

          Activity

          Hide
          Marius Dumitru Florea added a comment -

          Besides filling the target space field with the space of the parent page (i.e. the page where you clicked "Add page from office") we should also default to the space of the parent page if the target space field is left empty.

          Show
          Marius Dumitru Florea added a comment - Besides filling the target space field with the space of the parent page (i.e. the page where you clicked "Add page from office") we should also default to the space of the parent page if the target space field is left empty.

            People

            • Assignee:
              Marius Dumitru Florea
              Reporter:
              Joris Dirks
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: