Using replication services to replicate data between repositories having same repository ID.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2013 10:16 AM
Hi,
We need to replicate data between two repositories, but as we have dumped (alf_data and DB) from repository 1 to repository 2, so both of them are having same repository ID. Now as new content has been created as well as updated on repository 1, we need to replicate that on repository 2 using replication service.
But internally I have seen that there is an IF check in code that prevents replicating contents between repositories having same repository ID, so what can be possible impacts if I remove that IF check and then do replication.
Also is there any other work around using which we can achieve above requirements.
Any help or pointers will be appreciated.
Environment :
Alfresco Version : 3.4.3 EE, Tomcat 6.X, MySQL 5.X
Thanks,
Faizaan shaikh
We need to replicate data between two repositories, but as we have dumped (alf_data and DB) from repository 1 to repository 2, so both of them are having same repository ID. Now as new content has been created as well as updated on repository 1, we need to replicate that on repository 2 using replication service.
But internally I have seen that there is an IF check in code that prevents replicating contents between repositories having same repository ID, so what can be possible impacts if I remove that IF check and then do replication.
Also is there any other work around using which we can achieve above requirements.
Any help or pointers will be appreciated.
Environment :
Alfresco Version : 3.4.3 EE, Tomcat 6.X, MySQL 5.X
Thanks,
Faizaan shaikh
Labels:
- Labels:
-
Archive
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2013 12:05 PM
Your repository IDs need to be unique. There's not a lot that uses them at the moment but replication and sync are where repository ids become important. You need to change the repository id of one of the repos.
Working out the best way to do this is still on my "todo" list, so I can't give advice at the moment.
Working out the best way to do this is still on my "todo" list, so I can't give advice at the moment.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2013 01:28 AM
Hi Mrogers,
Thanks for quick reply !
What is the reason why repository ids need's to be unique, I want to know what can be the possible areas that are likely to not function properly if we removed that equality IF check for repository ID.
Thanks,
Faizaan Shaikh
Thanks for quick reply !
What is the reason why repository ids need's to be unique, I want to know what can be the possible areas that are likely to not function properly if we removed that equality IF check for repository ID.
Thanks,
Faizaan Shaikh
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2013 04:52 AM
The purpose of the repository id is to be a uniqie identifier. If its not unique then nothing that uses it will work. In terms of transfer, it won't know where files come from so will get confused with updates and the functionaility to "open in source repository" will open the wrong repo.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2013 10:47 AM
Thanks a lot for explanation !
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2013 10:04 AM
hi ,i am facing issue with email and rule.
i have created one rule on document librarry and rule apply to sub directoried as well but the issue is that if i am trying to upload file using administrator the rule runs fine , but if i try to upload file using any other user there is permission denied message.
i am using alfresco community 3.4d…let me know if you can help me for this..
thanks
i have created one rule on document librarry and rule apply to sub directoried as well but the issue is that if i am trying to upload file using administrator the rule runs fine , but if i try to upload file using any other user there is permission denied message.
i am using alfresco community 3.4d…let me know if you can help me for this..
thanks
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2013 11:04 AM
You should check whether or not the non admin user has any permissions in the site. It sounds like you need to add the user to the site as a member with sufficient privilages to create documents.
Bob Johnson
Bob Johnson
