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

Add support for Nested Spaces in the Office Importer UI

    XMLWordPrintable

Details

    • Integration
    • Unknown

    Description

      You can see the whole review here:
      http://design.xwiki.org/xwiki/bin/view/Proposal/XWiki+Enterprise+Extensions+Review.

      In this component there are several methods that need to be adapted to Nested Spaces:

      • .createDocumentReference()
      • .parent()
      • .space()
      • .getParent()
      • .setParent()
      • .request.parent

      Steps to reproduce:

      1. Create Main/1/2/3
      2. Go to /xwiki/bin/view/XWiki/OfficeImporter
      3. Select an office file from your PC
      4. Write for Target space: Main/1/2/3
      5. And for Target page: WebHome
      6. Check Append result
      7. Click Import

      You'll see that your file is appended to a space named "Main.1.2.3", not to the one you desired.

      Attachments

        1. office.png
          office.png
          73 kB
        2. proposal-split.png
          proposal-split.png
          88 kB
        3. proposal-when-page-exists-dialog.png
          proposal-when-page-exists-dialog.png
          89 kB
        4. proposal-when-page-exists.png
          proposal-when-page-exists.png
          93 kB
        5. proposal.png
          proposal.png
          88 kB

        Issue Links

          Activity

            People

              gdelhumeau Guillaume Delhumeau
              gabriela.smeria Gabriela Smeria
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days
                  3d