chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fguilla...@apache.org
Subject svn commit: r918555 - /incubator/chemistry/trunk/chemistry/chemistry-atompub-server/src/main/java/org/apache/chemistry/atompub/server/CMISProvider.java
Date Wed, 03 Mar 2010 16:32:55 GMT
Author: fguillaume
Date: Wed Mar  3 16:32:55 2010
New Revision: 918555

URL: http://svn.apache.org/viewvc?rev=918555&view=rev
Log:
Fix parents link with query parameters

Modified:
    incubator/chemistry/trunk/chemistry/chemistry-atompub-server/src/main/java/org/apache/chemistry/atompub/server/CMISProvider.java

Modified: incubator/chemistry/trunk/chemistry/chemistry-atompub-server/src/main/java/org/apache/chemistry/atompub/server/CMISProvider.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-atompub-server/src/main/java/org/apache/chemistry/atompub/server/CMISProvider.java?rev=918555&r1=918554&r2=918555&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-atompub-server/src/main/java/org/apache/chemistry/atompub/server/CMISProvider.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-atompub-server/src/main/java/org/apache/chemistry/atompub/server/CMISProvider.java
Wed Mar  3 16:32:55 2010
@@ -93,7 +93,7 @@
         targetResolver.setPattern("/typechildren(\\?.*)?", //
                 TargetType.TYPE_COLLECTION);
         // per-object collections
-        targetResolver.setPattern("/parents/([^/?]+)",
+        targetResolver.setPattern("/parents/([^/?]+)(\\?.*)?",
                 TargetType.TYPE_COLLECTION, "objectid");
         targetResolver.setPattern("/children/([^/?]+)(\\?.*)?",
                 TargetType.TYPE_COLLECTION, "objectid");
@@ -101,11 +101,11 @@
                 CMISObjectsCollection.TARGET_TYPE_CMIS_DESCENDANTS, "objectid");
         targetResolver.setPattern("/foldertree/([^/?]+)(\\?.*)?",
                 CMISObjectsCollection.TARGET_TYPE_CMIS_FOLDER_TREE, "objectid");
-        targetResolver.setPattern("/allversions/([^/?]+)",
+        targetResolver.setPattern("/allversions/([^/?]+)(\\?.*)?",
                 TargetType.TYPE_COLLECTION, "objectid");
-        targetResolver.setPattern("/relationships/([^/?]+)",
+        targetResolver.setPattern("/relationships/([^/?]+)(\\?.*)?",
                 TargetType.TYPE_COLLECTION, "objectid");
-        targetResolver.setPattern("/policies/([^/?]+)",
+        targetResolver.setPattern("/policies/([^/?]+)(\\?.*)?",
                 TargetType.TYPE_COLLECTION, "objectid");
         targetResolver.setPattern("/typechildren/([^/?]+)(\\?.*)?",
                 TargetType.TYPE_COLLECTION, "typeid");



Mime
View raw message