You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2013/09/23 10:41:02 UTC
[jira] [Resolved] (MYFACES-3780) _ComponentAttributesMap return
null when no property descriptor is available and null value is passed to
map
[ https://issues.apache.org/jira/browse/MYFACES-3780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe resolved MYFACES-3780.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.13
2.2.0
2.0.19
> _ComponentAttributesMap return null when no property descriptor is available and null value is passed to map
> ------------------------------------------------------------------------------------------------------------
>
> Key: MYFACES-3780
> URL: https://issues.apache.org/jira/browse/MYFACES-3780
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314, JSR-344
> Reporter: Leonardo Uribe
> Assignee: Leonardo Uribe
> Fix For: 2.0.19, 2.2.0, 2.1.13
>
>
> Checking some stuff I have found that there is an old check for null in ComponentAttributesMap.put(...)
> This check doesn't have sense, because null values are valid for hashmap, and in that sense the check is useless.
> The fix is very simple, just remove the unnecessary check. I just comment the related code, to prevent other people to try to add it in the future.
> The fix will be done on 2.0.x, 2.1.x and 2.2.x branches
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira