Hi Rafa and Chalitha, In MCF you really do want the document version string to accurately reflect changes made to the document. So if changes to document permissions are not causing a different document version string to be created, then the connector should be changed so that permission information is included in the document version string for each document.
Thanks, Karl On Fri, Dec 4, 2015 at 6:40 AM, Rafa Haro <[email protected]> wrote: > 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 construction. > > > > > Let’s see the opinion of the others > > > > > Thanks! > > Rafa > > On Fri, Dec 4, 2015 at 12:36 PM, Chalitha Perera <[email protected]> > wrote: > > > 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] https://github.com/maoo/alfresco-indexer/issues/12 > > -- > > ------------------------------ > > 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. >
