[jboss-cvs] JBossAS SVN: r87097 - branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Apr 9 14:26:55 EDT 2009


Author: emuckenhuber
Date: 2009-04-09 14:26:55 -0400 (Thu, 09 Apr 2009)
New Revision: 87097

Modified:
   branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/SecurityConfigMapper.java
Log:
[JBAS-6716] workaround inconsistency in the MapMetaType

Modified: branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/SecurityConfigMapper.java
===================================================================
--- branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/SecurityConfigMapper.java	2009-04-09 17:46:46 UTC (rev 87096)
+++ branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/SecurityConfigMapper.java	2009-04-09 18:26:55 UTC (rev 87097)
@@ -132,6 +132,10 @@
          {
             // Role
             CompositeValue row = (CompositeValue) value.get(name);
+            // FIXME the MapMetaType might not be up 2 date
+            if(row == null)
+               continue;
+            
             Element role = d.createElement("role");
             role.setAttribute("name", name);
             




More information about the jboss-cvs-commits mailing list