You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by je...@apache.org on 2014/03/04 13:45:36 UTC
svn commit: r1574065 -
/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/server/InMemoryServiceFactoryImpl.java
Author: jens
Date: Tue Mar 4 12:45:36 2014
New Revision: 1574065
URL: http://svn.apache.org/r1574065
Log:
Fix bug: change flag to add inherited properties when importing type from XML on startup.
Modified:
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/server/InMemoryServiceFactoryImpl.java
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/server/InMemoryServiceFactoryImpl.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/server/InMemoryServiceFactoryImpl.java?rev=1574065&r1=1574064&r2=1574065&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/server/InMemoryServiceFactoryImpl.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/server/InMemoryServiceFactoryImpl.java Tue Mar 4 12:45:36 2014
@@ -289,7 +289,7 @@ public class InMemoryServiceFactoryImpl
((AbstractTypeDefinition) typeDef)
.setPropertyDefinitions(new LinkedHashMap<String, PropertyDefinition<?>>());
}
- tmc.addTypeDefinition(typeDef, false);
+ tmc.addTypeDefinition(typeDef, true);
}
XMLUtils.next(parser);
} else if (event == XMLStreamConstants.END_ELEMENT) {