manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafa Haro" <>
Subject Re: Indexing issue with Alfresco connector when site level permissions change
Date Fri, 04 Dec 2015 11:40:16 GMT
Hi Chalitha, 

As we have discussed offline, one possibility in my opinion would be to include ACLs information
in the documentVersion. For example, we can add the last ACL transaction ID to the documentVersion

Let’s see the opinion of the others



On Fri, Dec 4, 2015 at 12:36 PM, Chalitha Perera <>

> Hi All,
> We found another bug in alfresco indexer and also could affect the manifold
> connector.
> Issue with webscript is that, site changes from public to private are not
> properly reflected. I have opened an issue for that in here [1].
> Now we have a problem with alfresco-webscript manifold connector. In
> alfresco when site level permissions changed, document modified date does
> not change. In alfresco connector modified date is used to create version
> string to check the need for re-indexing.
> String documentVersion = (enableDocumentProcessing?"+":"-") + new
> Long(modifiedDate.getTime()).toString();
> if(!activities.checkDocumentNeedsReindexing(doc, documentVersion))
>           continue;
> It looks like because of this permission changed documents gets dropped.
> Alfresco indexer webscript already correctly gives the changed documents
> (It detects the changes correctly) which is correctly added as seeds in the
> seeding method.
> One option to this would be to combine acl information with modified date
> to come up with different version string. But we can discuss any other
> options as well.
> Thanks,
> Chalitha
> [1]
> -- 
> ------------------------------
> This message should be regarded as confidential. If you have received this 
> email in error please notify the sender and destroy it immediately. 
> Statements of intent shall only become binding when confirmed in hard copy 
> by an authorised signatory.
> Zaizi Ltd is registered in England and Wales with the registration number 
> 6440931. The Registered Office is Brook House, 229 Shepherds Bush Road, 
> London W6 7AN. 
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message