portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jf...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/tools/pamanager/rules PortletRule.java
Date Thu, 11 Mar 2004 23:15:15 GMT
jford       2004/03/11 15:15:15

  Modified:    portal/src/java/org/apache/jetspeed/tools/pamanager/rules
                        PortletRule.java
  Log:
  Push null onto stack if we can't find the PortletDefinition
  
  Revision  Changes    Path
  1.2       +6 -1      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/tools/pamanager/rules/PortletRule.java
  
  Index: PortletRule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/tools/pamanager/rules/PortletRule.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PortletRule.java	11 Mar 2004 19:21:42 -0000	1.1
  +++ PortletRule.java	11 Mar 2004 23:15:15 -0000	1.2
  @@ -51,6 +51,11 @@
               {    
                   digester.push(def.getMetadata());
               }
  +            else
  +            {
  +                //push a null object onto the stack to prevent fields being placed onto
another metadata object
  +                digester.push(null);
  +            }
           }
       }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message