Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)

64786: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (4.3/Cloud)
      64133: MNT-10713 - Transformation Server, Lucene specific: startup deadlocks new license
        Make sys:descriptor not indexable so it doesn't affect the search and transformation subsystems.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@66189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2014-04-02 19:54:33 +00:00
parent 23182c909d
commit b8649acfd2

View File

@@ -203,6 +203,10 @@ public class RepositoryDescriptorDAOImpl implements DescriptorDAO
props.put(ContentModel.PROP_SYS_VERSION_SCHEMA, serverDescriptor.getSchema()); props.put(ContentModel.PROP_SYS_VERSION_SCHEMA, serverDescriptor.getSchema());
props.put(ContentModel.PROP_SYS_LICENSE_MODE, licenseMode); props.put(ContentModel.PROP_SYS_LICENSE_MODE, licenseMode);
// Aspect index control - stop the search system getting involved with licenses.
props.put(ContentModel.PROP_IS_CONTENT_INDEXED, false);
props.put(ContentModel.PROP_IS_INDEXED, false);
this.nodeService.addProperties(currentDescriptorNodeRef, props); this.nodeService.addProperties(currentDescriptorNodeRef, props);
// ALF-726: v3.1.x Content Cleaner Job needs to be ported to v3.2 // ALF-726: v3.1.x Content Cleaner Job needs to be ported to v3.2