[jboss-jira] [JBoss JIRA] Created: (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:09:38 EDT 2008


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


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