Patches item #444395, was opened at 2001-07-25 01:16 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376687&aid=444395&group_id=22866 Category: JBossServer Group: v2.5 Rabbit Hole (unstable) Status: Open Resolution: None Priority: 5 Submitted By: Makas Lau (ducknight79) Assigned to: Nobody/Anonymous (nobody) Summary: Optional tag in QueryMetaData Initial Comment: The tag method-intf is optional but it wasn't checked if it was null. Below is difference between the patched and non-patched. --- /home/makas/dev/mine/jboss/src/main/org/jboss/metadata/QueryMetaData.java Wed Jul 25 16:07:47 2001 +++ /home/makas/dev/mine/cvs/jboss/src/main/org/jboss/metadata/QueryMetaData.java Sun Jun 24 09:06:16 2001 @@ -81,8 +81,7 @@ // method interface methodIntf = getElementContent(getOptionalChild(queryMethod, "method-intf")); - - if( methodIntf != null && !HOME.equals(methodIntf) && + if(!HOME.equals(methodIntf) && !LOCAL_HOME.equals(methodIntf)) { throw new DeploymentException("result-type-mapping must be '" + HOME + "', '" + ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376687&aid=444395&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
