Search for a page without locale

Last modified by Ilie Andriuta on 2024/07/24 15:55

Home Search Tests Home Run Test

Steps to reproduce

  1. Login as Admin
  2. Create a new page and insert the following snippet in Wiki mode:
    {{velocity}}
    #set($myRef = "SomeSpace.SomePage")
    #set ($myDoc = $xwiki.getDocument($myRef))
    #set ($discard = $myDoc.setTitle("Foobar"))
    #set ($discard = $myDoc.save())
    {{/velocity}}
  3. Verify that a page with the title "Foobar" was created at reference "SomeSpace.SomePage"
  4. Search for "Foobar" in the search bar

Expected results

The page located at "SomeSpace.SomePage" is displayed in the search result in 'Page Titles' section.

Results

per page of Page
Jira Issue
Warning
The environment prevents the table from loading data.
 
Page

Get Connected