From: <cl...@hy...> - 2008-10-10 01:16:54
|
Author: clee Date: 2008-10-09 18:16:44 -0700 (Thu, 09 Oct 2008) New Revision: 11447 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=11447 Modified: trunk/src/org/hyperic/hq/bizapp/server/session/MeasurementBossEJBImpl.java Log: [HHQ-2566] There are never any enabled measurements for resource type Modified: trunk/src/org/hyperic/hq/bizapp/server/session/MeasurementBossEJBImpl.java =================================================================== --- trunk/src/org/hyperic/hq/bizapp/server/session/MeasurementBossEJBImpl.java 2008-10-10 01:05:30 UTC (rev 11446) +++ trunk/src/org/hyperic/hq/bizapp/server/session/MeasurementBossEJBImpl.java 2008-10-10 01:16:44 UTC (rev 11447) @@ -923,7 +923,10 @@ PermissionException { if (id.isGroup()) return findGroupMeasurements(sessionId, id, null, pc); - + + if (id instanceof AppdefEntityTypeID) + return new ArrayList(0); + AuthzSubject subject = manager.getSubject(sessionId); return getMetricManager().findMeasurements(subject, id, null, pc); } |