Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Topic title doesn't respect the naming strategy set at wiki level #103

Open
ane-gabriela opened this issue Sep 24, 2020 · 4 comments
Open
Assignees
Milestone

Comments

@ane-gabriela
Copy link

Preconditions: Set up the [[Preformatted Names Strategy>>https://extensions.xwiki.org/xwiki/bin/view/Extension/Name%20Strategies%20Module/#HPreformattedNamesStrategy]] first:

  • Login as Admin
  • Go to Administer Wiki > Editing > Name Strategies
  • Under 'Current Name Strategy' select 'Preformatted names (no accents, no space, no special characters)'
  • Under 'Transform name automatically' select 'Enabled'
  • Under 'Validate names before saving' select 'Disabled'
  • Click 'Save'

Steps to reproduce:

  1. Click on a forum
  2. Click on Add topic
  3. Fill the title which includes some accents, spaces and special characters in its name (e.g. Té£ / stΦéd**) and the description
  4. Click on Add topic

Expected result: The topic is created and the accents, spaces and special characters are updated in the URL accordingly to the naming strategy.

Actual result: The topic is created but the name is not transformed in the URL.
http://localhost:8080/xwiki/bin/view/Forums/Forum/T%C3%A9%C2%A3%20%20%2F%20st%CE%A6%C3%A9d/

Environment: Windows 10, XWiki 12.6.2 with MySQL 8.0 and IE 11, Forum Application (Pro) 2.7.3

TopicNameStrategy

@ane-gabriela
Copy link
Author

Issue reproducing on XWiki 14.10.18 with Forum Application (Pro) 2.9, Chrome 118

@ndascalita
Copy link

Tested on XWiki 14.10.20 with Forum application Pro 2.9.1 - could reproduce the issue as the link looks the same : http://192.168.150.192:8080/xwiki/bin/view/Forums/General/T%C3%A9%C2%A3%20%2F%20st%CE%A6%C3%A9d*/
image

@ane-gabriela
Copy link
Author

Issue reproducing on XWiki 15.10.6 with Forum Application (Pro) 2.9.1, Chrome 121

@ane-gabriela
Copy link
Author

Issue reproducing on Cloud XWiki 15.10.8 with Forum Application (Pro) 2.9.2, Chrome 126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants