Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix original link (just omit for now)

git-svn-id: https://svn.apache.org/repos/asf/incubator/chemistry/trunk@927737 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit c3ee41325059c1e01fdea51ab921b9629142131d 1 parent 6ff2d85
Jens Hübel authored
View
4 ...is-server/opencmis-server-support/src/main/java/org/apache/opencmis/server/support/ObjectInfoHelper.java
@@ -210,7 +210,7 @@ public void fillObjectInfoHolder(CallContext context, String repositoryId, Objec
objInfo.setIsCurrentVersion(getBooleanProperty(properties, PropertyIds.CMIS_IS_LATEST_VERSION));
objInfo.setVersionSeriesId(getStringProperty(properties, PropertyIds.CMIS_VERSION_SERIES_ID));
objInfo.setWorkingCopyId(getStringProperty(properties, PropertyIds.CMIS_VERSION_SERIES_CHECKED_OUT_ID));
- objInfo.setWorkingCopyOriginalId(getStringProperty(properties, PropertyIds.CMIS_VERSION_SERIES_CHECKED_OUT_ID));
+ objInfo.setWorkingCopyOriginalId(null);
} else { // unversioned document
objInfo.setIsCurrentVersion (true);
objInfo.setVersionSeriesId(null);
@@ -250,7 +250,7 @@ else if (objInfo.getBaseType() == BaseObjectTypeIds.CMIS_DOCUMENT) {
List<String> targetIds = new ArrayList<String>();
getRelationshipIds(objData, sourceIds, targetIds);
- // Relationships, currently not supported by in-memory provider
+ // Relationships, currently not supported
objInfo.setSupportsRelationships(supportsRelationships);
objInfo.setRelationshipSourceIds(sourceIds);
objInfo.setRelationshipTargetIds(targetIds);
Please sign in to comment.
Something went wrong with that request. Please try again.