[ http://issues.apache.org/jira/browse/MYFACES-304?page=comments#action_12315631 ]
Adam Winer commented on MYFACES-304: ------------------------------------ There's a bug in the new code: getClientIdsWithMessages() is returning the NULL_DUMMY object (instead of null). I don't see a reason why the NULL_DUMMY trick needs to be used anymore; you can add null directly to the lists. > FacesContext.getClientIdsWithMessages() fails to return null > ------------------------------------------------------------ > > Key: MYFACES-304 > URL: http://issues.apache.org/jira/browse/MYFACES-304 > Project: MyFaces > Type: Bug > Versions: 1.0.9 beta > Reporter: Adam Winer > Assignee: Grant Smith > > If a global message is added to the FacesContext (clientId is null), then > someone calls getClientIdsWithMessages(), the Iterator that is returned > should include null. It does not; it does correctly do this on the RI. > Also, from code inspection, it appears that getClientIdsWithMessages() will > return a client ID twice if two messages are added against the same client ID. -- 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
