-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, 7.1.X, Master
-
Fix Version/s: 7.0.0 DXP FP64, 7.0.X, 7.1.10 DXP FP5, 7.1.10.1 SP1, 7.1.2 CE GA3, 7.1.X, Master
-
Component/s: User Management
-
Branch Version/s:7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Story Points:0.25
-
Fix Priority:3
-
Sprint:U&SM | Sprint 4, U&SM | Sprint 5
-
Git Pull Request:
Description:
Setting an apostrophe/single quote as an acceptable special character for a user's screen name (as in the setting below) causes any buttons sharing the same page to no longer function.
users.screen.name.special.characters=.-_'
Steps to Reproduce:
1) Add the following property into the portal-ext.properties file:
users.screen.name.special.characters=.-_'
2) Startup Liferay
3) Navigate to Control Panel > Users > Users and Organizations
4) Add a User (e.g. test1)
5) Edit that user.
6) Attempt to change the profile picture for the user.
Expected Behavior: Clicking the "Change" button causes a menu to open that allows the user to select or change their profile picture.
Actual Behavior: Clicking the "Change" button does nothing. JSC parse errors may appear in your console similar to the ones shown below.
Errors:
2018-10-25 22:04:03.132 ERROR [http-nio-8080-exec-5][GoogleJavaScriptMinifier:116] (http://localhost:8080/group/control_panel/manage:759): Parse error. missing ) after argument list 2018-10-25 22:04:03.132 ERROR [http-nio-8080-exec-5][GoogleJavaScriptMinifier:116] (http://localhost:8080/group/control_panel/manage:759): Parse error. unterminated string literal 2018-10-25 22:04:03.134 ERROR [http-nio-8080-exec-5][GoogleJavaScriptMinifier:116] (http://localhost:8080/group/control_panel/manage:761): Parse error. missing ; before statement 2018-10-25 22:04:03.135 ERROR [http-nio-8080-exec-5][GoogleJavaScriptMinifier:116] (http://localhost:8080/group/control_panel/manage:762): Parse error. syntax error 2018-10-25 22:04:03.135 ERROR [http-nio-8080-exec-5][GoogleJavaScriptMinifier:116] (http://localhost:8080/group/control_panel/manage:763): Parse error. syntax error 2018-10-25 22:04:03.135 ERROR [http-nio-8080-exec-5][GoogleJavaScriptMinifier:116] (http://localhost:8080/group/control_panel/manage:768): Parse error. syntax error 2018-10-25 22:04:03.135 ERROR [http-nio-8080-exec-5][GoogleJavaScriptMinifier:116] (http://localhost:8080/group/control_panel/manage:775): Parse error. missing } after property list 2018-10-25 22:04:03.136 ERROR [http-nio-8080-exec-5][GoogleJavaScriptMinifier:129] {0} error(s), {1} warning(s) 2018-10-25 22:04:20.544 INFO [elasticsearch[Hero for Hire][clusterService#updateTask][T#1]][metadata:317] [Hero for Hire] [liferay-20115] update_mapping [LiferayDocumentType] 2018-10-25 22:04:25.165 ERROR [http-nio-8080-exec-1][GoogleJavaScriptMinifier:116] (http://localhost:8080/group/control_panel/manage:1880): Parse error. missing ) after argument list 2018-10-25 22:04:25.168 ERROR [http-nio-8080-exec-1][GoogleJavaScriptMinifier:116] (http://localhost:8080/group/control_panel/manage:1880): Parse error. unterminated string literal 2018-10-25 22:04:25.170 ERROR [http-nio-8080-exec-1][GoogleJavaScriptMinifier:116] (http://localhost:8080/group/control_panel/manage:1882): Parse error. missing ; before statement 2018-10-25 22:04:25.170 ERROR [http-nio-8080-exec-1][GoogleJavaScriptMinifier:116] (http://localhost:8080/group/control_panel/manage:1883): Parse error. syntax error 2018-10-25 22:04:25.170 ERROR [http-nio-8080-exec-1][GoogleJavaScriptMinifier:116] (http://localhost:8080/group/control_panel/manage:1884): Parse error. syntax error 2018-10-25 22:04:25.171 ERROR [http-nio-8080-exec-1][GoogleJavaScriptMinifier:116] (http://localhost:8080/group/control_panel/manage:1889): Parse error. syntax error 2018-10-25 22:04:25.171 ERROR [http-nio-8080-exec-1][GoogleJavaScriptMinifier:116] (http://localhost:8080/group/control_panel/manage:1896): Parse error. missing } after property list 2018-10-25 22:04:25.171 ERROR [http-nio-8080-exec-1][GoogleJavaScriptMinifier:129] {0} error(s), {1} warning(s)
Notes:
This affects anything sharing the same page. So in Master/7.1, the "Change" button does not operate, but switching views to the "Organizations," etc forms will have functioning buttons. Meanwhile, in 7.0, neither the "Change" button nor any of the selection buttons for the organizations/roles/user groups will function properly.