Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3426 Provide a GWT API for the XWikiExplorer widget
  3. XWIKI-3510

New page is stored for a space when inserted in the suggest

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • Major
    • 1.8.1, 1.9 M1
    • None
    • WYSIWYG Editor
    • None

    Description

      To reproduce, follow these steps:

      • insert a new page for an existing space in the suggest, e.g. Blog.Photos
        The selection in the tree will move to "Add Page..." option under the Blog space and getSelectedSpace() = "Blog", getSelectedPage() = "Photos", isNewPage() = true
      • change the selection in the explorer to "Main.Add Page...", for example
        getSelectedSpace() = "Main", getSelectedPage() = "", isNewPage() = true and suggest input is empty
      • change the selection in the explorer to Blog.Add Page... element, by clicking it in the tree
        now, getSelectedSpace() = "Blog", getSelectedPage() = "Photos", isNewPage() = true and suggest input is empty

      The selectedPage for the Blog space should not be stored to "Photos", it should be reset to "" when Add Page... is clicked.

      Attachments

        Activity

          People

            jvdrean Jean-Vincent Drean
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: