AtlasOfLivingAustralia/ala-auth-plugin

Cannot browse to users from the role list if their id is greater than 1000

Closed this issue · 1 comments

If a user has an id greater than 1000, the URL link on the role list is broken due to the use of a comma-separated version of the number instead of the raw number.

For example, the link to my account on the following page is invalid:

https://auth.ala.org.au/userdetails/admin/userRole/list?role=ROLE_ADMIN

The link is the following, where %2C is the encoded comma that should not be there:

https://auth.ala.org.au/userdetails/admin/user/show/27%2C583

The correct link should be:

https://auth.ala.org.au/userdetails/admin/user/show/27583