Author: chris.laprun(a)jboss.com
Date: 2009-07-21 17:44:32 -0400 (Tue, 21 Jul 2009)
New Revision: 13569
Modified:
branches/Enterprise_Portal_Platform_4_3/core-wsrp/src/main/org/jboss/portal/wsrp/admin/ui/ConsumerBean.java
Log:
- JBPORTAL-2410: fixed error reporting.
Modified:
branches/Enterprise_Portal_Platform_4_3/core-wsrp/src/main/org/jboss/portal/wsrp/admin/ui/ConsumerBean.java
===================================================================
---
branches/Enterprise_Portal_Platform_4_3/core-wsrp/src/main/org/jboss/portal/wsrp/admin/ui/ConsumerBean.java 2009-07-21
21:42:00 UTC (rev 13568)
+++
branches/Enterprise_Portal_Platform_4_3/core-wsrp/src/main/org/jboss/portal/wsrp/admin/ui/ConsumerBean.java 2009-07-21
21:44:32 UTC (rev 13569)
@@ -28,6 +28,7 @@
import org.jboss.portal.wsrp.consumer.ConsumerRegistry;
import org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo;
import org.jboss.portal.wsrp.consumer.ProducerInfo;
+import org.jboss.portal.wsrp.consumer.RefreshResult;
import org.jboss.portal.wsrp.consumer.RegistrationInfo;
import org.jboss.portal.wsrp.consumer.RegistrationProperty;
@@ -427,7 +428,11 @@
// if the registration is locally modified, bypass the refresh as it will not
yield a proper result
if (!isRegistrationLocallyModified())
{
- manager.refresh(consumer);
+ RefreshResult refreshResult = manager.refresh(consumer);
+ if (refreshResult == null)
+ {
+ return null;
+ }
}
else
{
Show replies by date