incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r154204 - incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/impl/ContentModelServiceImpl.java
Date Thu, 17 Feb 2005 23:40:28 GMT
Author: clombart
Date: Thu Feb 17 15:40:26 2005
New Revision: 154204

URL: http://svn.apache.org/viewcvs?view=rev&rev=154204
Log:
Small bug fix

Modified:
    incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/impl/ContentModelServiceImpl.java

Modified: incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/impl/ContentModelServiceImpl.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/impl/ContentModelServiceImpl.java?view=diff&r1=154203&r2=154204
==============================================================================
--- incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/impl/ContentModelServiceImpl.java
(original)
+++ incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/impl/ContentModelServiceImpl.java
Thu Feb 17 15:40:26 2005
@@ -539,7 +539,7 @@
 
         // Check if Cms object uri start with the parent uri path
         String parentUri = CmsUtil.getParentUri(cmsObject.getUri());        
-        if (parentUri.equals(cmsObject.getParentFolder().getUri()))
+        if (! parentUri.equals(cmsObject.getParentFolder().getUri()))
         {
             String message = "Failed to insert/update document object in ContentModelServiceImpl
: incorrect Parent Uri";
             throw new CmsInvalidObjectException(message);                    



Mime
View raw message