Multiselect Custom Display Test

Last modified by Gabriela Anechitoaei on 2022/05/03 09:28

Home Other Tests Home Run Test

Steps to reproduce

  1. First do these 4 prerequisite steps:
  2. Go back to the class page and click on the class editor link to add a property
  3. Add a new Database List property
    • Custom Display field: use this code - {{include document="XWiki.SuggestDisplay" /}}
    • Tick the Multiple Select, Use Suggest & Relational Storage options
    • Display Type field: use the input option
    • Hibernate Query field: use this test code which should suggest any page inside the Sandbox space - select from XWikiDocument as doc where = 'Sandbox'
  4. Save the Class
  5. Below the Create a new page section type in a Page name and click on Create this page
  6. Type in some page names inside the input field: for example use TestPage1, TestPage2, WebHome
  7. Remove some pages from the input field: for example remove TestPage1 & WebHome
  8. Save the page

Expected results

  1. Suggestions for pages inside the Sandbox space appear as soon as typed
  2. Pages can be successfully added and removed for the page with the DBList property


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

Get Connected