Correction to HibernateNodeDaoServiceImpl. Do not store content data for properties of type ANY in the content data table. Fixes license persistence in the enterprise edition.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14887 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Dave Ward
2009-06-24 11:53:02 +00:00
parent 104a97f934
commit c38cb41d48

View File

@@ -4321,7 +4321,7 @@ public class HibernateNodeDaoServiceImpl extends HibernateDaoSupport implements
" Value: " + value);
}
// Handle ContentData
if (value instanceof ContentData)
if (value instanceof ContentData && propertyTypeQName.equals(DataTypeDefinition.CONTENT))
{
// Needs converting to an ID
ContentData contentData = (ContentData) value;