Author: chris.laprun(a)jboss.com
Date: 2007-05-08 13:07:07 -0400 (Tue, 08 May 2007)
New Revision: 7222
Modified:
trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/ProducerInfo.java
Log:
- JBPORTAL-715: fixed incorrect showing of modifyRegistration
Modified: trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/ProducerInfo.java
===================================================================
--- trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/ProducerInfo.java 2007-05-08
05:38:51 UTC (rev 7221)
+++ trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/ProducerInfo.java 2007-05-08
17:07:07 UTC (rev 7222)
@@ -713,7 +713,9 @@
public void modifyRegistration() throws PortletInvokerException
{
- if (isRegistered())
+ Boolean consistentWithExpectations =
persistentRegistrationInfo.isConsistentWithProducerExpectations();
+ if (persistentRegistrationInfo != null &&
persistentRegistrationInfo.getRegistrationHandle() != null
+ && consistentWithExpectations != null &&
!consistentWithExpectations.booleanValue())
{
try
{
Show replies by date