You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Darren Gilroy (JIRA)" <ta...@jakarta.apache.org> on 2006/12/21 01:25:20 UTC
[jira] Created: (TAPESTRY-1203) boolean.getBoolean doesn't work as
expected in InjectMetaWorker
boolean.getBoolean doesn't work as expected in InjectMetaWorker
---------------------------------------------------------------
Key: TAPESTRY-1203
URL: http://issues.apache.org/jira/browse/TAPESTRY-1203
Project: Tapestry
Issue Type: Bug
Components: Framework
Affects Versions: 4.1.1
Reporter: Darren Gilroy
In InjectMetaWorker Boolean.getBoolean(String name) is used to convert strings to primitive booleans. However, this method converts the value of a system property given name to boolean, not the value of the string itself. Boolean.parseBoolean is more correct but only available is JDK 1.5
This might be a regression bug from TAPESTRY-902
It was changed a few months ago.
http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/enhance/InjectMetaWorker.java?r1=419064&r2=483838&diff_format=h
Thanks,
Darren.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Resolved: (TAPESTRY-1203) boolean.getBoolean doesn't work as
expected in InjectMetaWorker
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1203?page=all ]
Jesse Kuhnert resolved TAPESTRY-1203.
-------------------------------------
Fix Version/s: 4.1.2
Resolution: Fixed
Assignee: Jesse Kuhnert
Now correctly using "java.lang.Boolean.valueOf(string).booleanValue()" . Thanks for the report, sorry for the goof up.
> boolean.getBoolean doesn't work as expected in InjectMetaWorker
> ---------------------------------------------------------------
>
> Key: TAPESTRY-1203
> URL: http://issues.apache.org/jira/browse/TAPESTRY-1203
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 4.1.1
> Reporter: Darren Gilroy
> Assigned To: Jesse Kuhnert
> Fix For: 4.1.2
>
>
> In InjectMetaWorker Boolean.getBoolean(String name) is used to convert strings to primitive booleans. However, this method converts the value of a system property given name to boolean, not the value of the string itself. Boolean.parseBoolean is more correct but only available is JDK 1.5
> This might be a regression bug from TAPESTRY-902
> It was changed a few months ago.
> http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/enhance/InjectMetaWorker.java?r1=419064&r2=483838&diff_format=h
> Thanks,
> Darren.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org