VersionServiceException after upgrade to Alfresco 3 Lab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2009 09:10 AM
I've upgraded to Alfresco 3 Lab Stable from Alfresco 2.1. My documents are versionable by aspect.
When I try to check in a document, the operation failed with error:
"The current implementation of the version service does not support the creation of branches"
If I remove aspect, the operation success.
After I've removed tha aspect, if I add the versionable aspect again, the operation success.
It seems like versionable aspect inherited from version 2.1 are wrong.
is There a solution that is not remove all the versionable aspect and add them again ?
Thanks
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2009 02:51 PM
I have exactly the same problem, did you find a solution ?
Thanks,
Julien
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2009 08:20 PM
I suppose that something gone wrong during migration or maybe it is a bug in Alfresco 3.0 wich make it not backward compatible with 2.1. The fact is that version history is not build the same way in both versions; 3.0 assumes that versions hierarchy depends on versionNumber whereas it does not seems to be the case in previous versionstore.
Solution is to add "version.store.onlyUseDeprecatedV1=true" to my custom-repository.properties
But I don't know what could be effects of this option on other features.
Julien
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2009 11:22 AM
Problem could be linked with Frozen node associations (ver:versionedAssoc) ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2009 10:16 AM
version.store.deprecated.lightWeightVersionStore=workspace://lightWeightVersionStoreversion.store.version2Store=workspace://version2Store# WARNING: For non-production testing only !!! Do not change (to avoid version store issues, including possible mismatch). Should be false since lightWeightVersionStore is deprecated.version.store.onlyUseDeprecatedV1=false
I don't think that is the right thing to do. Anybody found others solutions?
Andrea
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2009 10:46 AM
Julien

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2009 11:00 AM
document.createVersion('', true);
also changing the code invar newDoc = document.checkout();newDoc.checkin("Release", true);
i got the same error :"The current implementation of the version service does not support the creation of branches".After that i tried to use checkin and checkout from the UI on that file and i got other errors.
Trying on another file everything works fine. I don't know why. Maybe the first file was corrupted. Both files were created after the migration to 3.0 so the migration process to the new version model was not applied to this files.
Now i'm going to perform other test and if i have other informations i'll post again.
Andrea

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2009 11:52 AM
I changed this call simulating a checkin/checkout (previous code) and everything (seems) works fine.
Andrea
-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2009 12:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2009 11:30 AM
https://issues.alfresco.com/jira/browse/ETHREEOH-1540
Should be great if any good soul at Alfresco would give us at least a tip.
Greetings
