[jboss-jira] [JBoss JIRA] Updated: (JBMETA-98) XML Override of SFSB @Remove over Annotation is incorrect

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Wed Aug 27 01:11:38 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBMETA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Lee Rubinger updated JBMETA-98:
--------------------------------------

    Attachment: jbmeta-98-example-test.patch


Attached (untested) sample test to exhibit the behaviour that is failing

> XML Override of SFSB @Remove over Annotation is incorrect
> ---------------------------------------------------------
>
>                 Key: JBMETA-98
>                 URL: https://jira.jboss.org/jira/browse/JBMETA-98
>             Project: JBoss Metadata
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.0.0.Beta37
>            Reporter: Andrew Lee Rubinger
>            Assignee: Emanuel Muckenhuber
>            Priority: Critical
>         Attachments: jbmeta-98-example-test.patch
>
>
> Assume an annotation-defined @Remove method, and a corresponding XML entry.  If there's no "retain-if-exception" element in the XML, this should not override the "retainIfException=true" declared by the annotation.  Currently we're treating the absence of this XML element as a boolean "false", where really a null check is required.
> Solution will likely call for a "merge" implementation on RemoveMethodsMetaData, to be called from merge() in JBossSessionBeanMetaData.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list