Hi All,
When trying to create role through the WSO2-AS following error occurred.
This happens when creating users too.
Could not add role PRIMARY/saffadf. Error is: Role name not valid. Role
> name must be a non null string with following format, ^~!#$;%*+={}\
> <file://%3C%3E%2C%27%22/>{3,30}$
It seems that from the user.mgt.ui (In the
carbon-commons/components/user-manager/org.wso2.carbon.user.mgt.ui/src/main/resources/web/role/add-finish.jsp)
it try to get the safetext as follows
roleName = CharacterEncoder.getSafeText(roleBean.getRoleName());
in the getSafeTextMethod '/' is replaced by the '/' (regex looks for
pattern like userstore/name) therefore regex will not match and operation
will fail.
Since we are planning to do the Carbon-kernel 4.4.1 patch release next week
please consider this as a blocker for that.
I've created JIRA[1] for this.
[1] - https://wso2.org/jira/browse/IDENTITY-3428
Thanks
--
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware | wso2.com
Mobile +94712756809
Blog alokayasoya.blogspot.com
About http://about.me/thusithathilina
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev