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

Add support for Nested Spaces in the Office Importer UI

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.1.1
    • Fix Version/s: 7.3-milestone-1
    • Component/s: Office
    • Labels:
    • Tests:
      Integration
    • Difficulty:
      Unknown
    • Similar issues:

      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

          Issue Links

            Activity

              People

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

                Dates

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

                  Time Tracking

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