cancel
Showing results for 
Search instead for 
Did you mean: 

Replication Job with Version History

fguariba
Champ on-the-rise
Champ on-the-rise
Hi,

I'm using Alfresco Enterprise Edition Version 5.0.1.
I did some replications and I noticed that the versions from contents aren't replicated. So I would like to know if there is any way to configure a replication job to replicate the version history of documents too.

My goal is to have the same informations from a productive Alfresco System in a Test System, inclusive the version history of each document. Maybe it could be a great feature for the replication job.
Can a modification in the class TransferManifestNodeFactoryImpl solve this problem?
If this is not possible, which way should be the best, in order to have the versions in the test system?
Thank you!

Best regards,

Francisco
IT-Application Advisor
2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator
Hello,

I don't think modifying TransferManfestNodeFactoryImpl will be able to adress this lack of functionality. You'd also need to adapt how manifests are handled on the receiving system as well as introduce a custom type of TransferManifestNode to transport the version history on both source and target system. And even if you were to do that, you might face another obstacle in the fact that the version store has mechanisms in place to prevent node creation / manipulation via public NodeService interfaces - which I believe the replication subsystem uses to maintain / perform the changes transported in a manifest.

It is doable though since you can plug in all the custom components / configuration you'd have to write for this.

Regards
Axel

fguariba
Champ on-the-rise
Champ on-the-rise
Hello,

Thank you for your explanation. Now it seems very more complex than I thought at the beginning.
Then I think that a solution with the bulk import, which has already mechanisms to define the versions maybe can be faster and also good, in order to solve this problem.

Best regards,
Francisco

IT-Application Advisor
ELESTA GmbH
Bad Ragaz, Schweiz