kazu2012 / persevere-framework

Automatically exported from code.google.com/p/persevere-framework
0 stars 0 forks source link

Class Cast Exception when getPermissionLevel returns 0 #236

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When the system is configured with a javascript implementation of 
getPermissionLevel that returns 
0, a return value of 0 causes a Class Cast Exception in UserSecurity.java.  For 
some reason, the 
value 0 is interpreted as a Double rather than an Integer somewhere along the 
line.

A patch fixing this issue is attached.

Original issue reported on code.google.com by dsta...@gmail.com on 25 Aug 2009 at 10:57

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the patch!

Original comment by kris...@gmail.com on 27 Aug 2009 at 4:23