Name strategies automatic character replacement [Since XWiki 12.0RC1]

Last modified by Ilie Andriuta on 2022/11/29 17:08

Home Administration Tests Home Run Test

Steps to reproduce

  1. Login as Admin
  2. Go to Administer Wiki > Editing > Name Strategies
  3. Under 'Current Name Strategy' select 'Character replacement'
  4. Under 'Transform name automatically' select 'Enabled'
  5. Under 'Character Replacement Strategy Configuration' click 'Add new character'
  6. Add a new forbidden character (e.g. ") and a new replacement character (e.g. -)
  7. Click 'Add new character' > 'Save'
  8. Create a new page with some forbidden characters in its name (e.g. Te"s/t)
  9. Click 'Create', then 'Save & View'
  10. Observe the saved name of the page

Expected results

The path was renamed according to the configured strategy (e.g. the page was renamed to Te-st in the URL), while the page's title remained as set initially.

Automation Status

Needs Automated Test

Results

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

Get Connected