Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.4
-
Component/s: None
-
Labels:None
-
Environment:This occurs in version 0.4-SNAPSHOT which is not available from the 'affects versions' list.
-
Patch Submitted:Yes
Description
The tag names in the exception messages in checkPermission and checkRole are hard coded.
The methods are each called from more than one tag closure, so the wrong tag name will be referenced in some cases.
The attached patch fixes this. It's based on rev. 44243 of grails-app/taglib/JsecTagLib.groovy (current by time of writing) from SVN trunk.