Handle booleans in externalized property file configuration #9

Closed
iamthechad opened this Issue Apr 24, 2013 · 0 comments

Comments

Projects
None yet
1 participant
Owner

iamthechad commented Apr 24, 2013

When using recaptcha plugin configured through externalized property file (.properties), boolean values are not handled correctly.

This is mainly because property values are always strings, so for example this line in the property file:
recaptcha.enabled=false
set "enabled" property to string "false", which is treated as boolean "true".

I think it deserves a proper workaround as described in GRAILS-6515.

(Copied from GPRECAPTCHA-15)

@ghost ghost assigned iamthechad Apr 24, 2013

@iamthechad iamthechad closed this Apr 25, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment