geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Cabrera (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (XBEAN-278) Blueprint Namespace Handler improperly parsed flat-collections
Date Wed, 04 Mar 2015 15:56:04 GMT

    [ https://issues.apache.org/jira/browse/XBEAN-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14347049#comment-14347049
] 

Alan Cabrera commented on XBEAN-278:
------------------------------------

Dan, I saw the pull request.  I thought you had the karma to commit this yourself.  

> Blueprint Namespace Handler improperly parsed flat-collections
> --------------------------------------------------------------
>
>                 Key: XBEAN-278
>                 URL: https://issues.apache.org/jira/browse/XBEAN-278
>             Project: XBean
>          Issue Type: Bug
>    Affects Versions: 4.1
>            Reporter: Daniel Kulp
>
> When parsing a flat collections, the fist item is processed correctly creating the MutableColectionMetadata
and setting the childeMetadata to the listMeta which is then added to the bean.
> For subsequent items, item is added to the list correctly.  However, the childeMetadata
remains null (which is likely proper).  However, at the end of the 'if/else' chain in XBeanNamespaceHandler,
if childMeta is null, it creates another childMeta with the "value" of the element (likely
an empty string).   This causes beans to fail to be created.
> Patch coming soon.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message