AnsweredAssumed Answered

WCM 2.0 data model not compatible with JCR

Question asked by gr1zz_lee on Jan 29, 2007
Latest reply on Feb 14, 2007 by davidc
I just installed the WCM 2.0 Preview and configured the JCR-RMI extension. I have a node browser application that connects over RMI to the alfresco repository. This application worked fine with the WCM 1.4 preview.

I have the following problem when I try to get the string value of the cm:description or cm:title properties of a node. All other properties do not have this problem.

javax.jcr.RepositoryException: Cannot map Alfresco data type {http://www.alfresco.org/model/dictionary/1.0}mltext to JCR property type.
   at org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(ServerObject.java:136)
   at org.apache.jackrabbit.rmi.server.ServerProperty.getValue(ServerProperty.java:63)
   at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
   …..

Is something changed in the WCM 2.0 data model that can cause this?
The error tells me that Alfresco data types are mapped to JCR property types. Can somebody explain?

Outcomes