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

Impossible to search pages created without locale

    XMLWordPrintable

Details

    • Integration
    • Unknown
    • N/A

    Description

      Reproduction steps:

      • Use the following snippet (create a page with it, or just preview the page):
        {{velocity}}
        #set($myRef = "SomeSpace.SomePage")
        #set ($myDoc = $xwiki.getDocument($myRef))
        #set ($discard = $myDoc.setTitle("Tyranosaurus"))
        #set ($discard = $myDoc.save())
        {{/velocity}}
        
      • Check that a page with a title "Tyranosaurus" as been created at reference "SomeSpace.SomePage"
      • Search "Tyranosaurus" in the search bar

      Expected result:

      • the page located at "SomeSpace.SomePage" is proposed in the result

      Obtained result:

      • No result is shown, or the page with the script is returned in the result

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: