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

Clicking on a space in the tree prints only the space name in the suggest input, while typing the same in the input does not yield the same result

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.9 RC1, 2.0 M1
    • 1.8.1
    • WYSIWYG Editor
    • None

    Description

      When a space is clicked in the tree, e.g. "Main", the suggest prints only the space name: "Main".
      If the user inserts such in the suggest, selection does not change in the tree, getSelectedSpace(), getSelectedPage return the last page selected in the tree, by clicking it.

      One solution could be to set the suggest input to Space.WebHome when a space is selected, this way, references in the suggest will be consistent (always of the form Space.Page). Another solution would be to find a way of resolving incomplete references in the suggest (either consider inserted text as page and look for it in the currently selected space or consider it as a space).

      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: