-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.5 Larks
-
Fix Version/s: 2.5 Larks
-
Labels:None
-
Sprint:2.5 Larks
Steps to reproduce:
- Open forum as anonym user
- Go to user profile page via link like http://qa.jtalks.org/jcommune/user/
note that there is "/" at the end of a link
Actual result Error 500 is shown (see exception in attachment)
Expected result Login page is opened
java.lang.UnsupportedOperationException: Username is not defined for anonymous user org.jtalks.jcommune.model.entity.AnonymousUser.getUsername(AnonymousUser.java:76) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)