Description of problem: It is possible create dashboard page (using dashboard tab portlet) which contains special characters. When you are on the page there are underscores in url instead special characters. Steps to Reproduce: 1. open portal, sign in and go to dashboard 2. click "+" button to create new dashboard page 3. write some special characters and press enter
Change in behavior is due to work done for https://bugzilla.redhat.com/show_bug.cgi?id=805527
For this one Chris checked and confirmed that those pages are working properly and URLs to them are handled properly. There is slight behaviour change in validation but it is not clear if this should be a bug or we should just create a technical note explaining the change.
Yup, this is change in validation, new format is handled properly. Disadvantage can be bookmarking with "_" instead of any special character. +1 for technical note + update in documentation http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.2/html-single/User_Guide/index.html#sect-User_Guide-Dashboard_Portlet (currently there is no information about what is allowed and what not)
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Bolek to supply
I added a technical note for this issue before, but it doesn't appear that it made it through on the submit. Re-adding the technical note.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1,7 @@ -Bolek to supply+CAUSE: Validation of dashboard page names changed. + +CONSEQUENCE: Dashboard page names with special characters are no longer considered an invalid page name. + +FIX: The portal can now properly handles dashboard page names with special characters. If a dashboard name contains an special character, it will be replaced with an underscore in the URL. + +RESULT: Special characters are now allowed in dashboard page names.
To Matt: >The portal can now properly handles dashboard page names with special >characters. If a dashboard name contains an special character, it will be >replaced with an underscore in the URL. That's ok. But when I try to add page which starts by number the message "Name cannot be empty and must start with a character" is shown. 1) Is it ok that page can start by special character and cannot by number? 2) Message says "... and must start with a character" and special character isn't regular character. Is this expected behaviour?
Please open a separate issue with the error message being wrong (it should say something along the lines of a dashboard name cannot start with a number). The requirement that a dashboard name start with something other than a number is not an issue with special characters in the dashboard name (ie & > & ...)
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,7 +1 @@ -CAUSE: Validation of dashboard page names changed. +A change to how dashboard page names were validated in another issue caused dashboard page names containing special characters to no longer be considered as invalid. If a dashboard name contains a special character, it is now replaced with an underscore in the URL. This new functionality will be added to the Dashboard Portlet section of the User Guide in a future release.- -CONSEQUENCE: Dashboard page names with special characters are no longer considered an invalid page name. - -FIX: The portal can now properly handles dashboard page names with special characters. If a dashboard name contains an special character, it will be replaced with an underscore in the URL. - -RESULT: Special characters are now allowed in dashboard page names.
Verified again at 5.2.2 CR01