Version Problems in Alfresco 3.4.5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2012 11:15 AM
Hello,
I'm having trouble with the documents version.
The problem is that the first version (default version) is 0.1 but this version should be 1.0. This problem has arisen when I migrated from alfresco 3.3.2 to 3.4.5
I have not made any changes, I just deployed my module AMP in alfresco 3.4.5 and when I upload a document for the first time, its version is 0.1 instead of 1.0.
I'm using the same code:
Any idea that has changed in Alfresco 3.4.5?
Regards,
Juan
I'm having trouble with the documents version.
The problem is that the first version (default version) is 0.1 but this version should be 1.0. This problem has arisen when I migrated from alfresco 3.3.2 to 3.4.5
I have not made any changes, I just deployed my module AMP in alfresco 3.4.5 and when I upload a document for the first time, its version is 0.1 instead of 1.0.
I'm using the same code:
node.addMixin("cm:versionable");node.setProperty("cm:autoVersion", true);
Any idea that has changed in Alfresco 3.4.5?
Regards,
Juan
Labels:
- Labels:
-
Archive
8 REPLIES 8
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2012 04:29 PM
You need to make sure your first version is a major version rather than a minor version.
(There's an extra property to set)
(There's an extra property to set)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2012 06:49 AM
You need to make sure your first version is a major version rather than a minor version.
(There's an extra property to set)
But It's the same if I use the alfresco console. If I upload a document using alfresco web console the version is created with 0.1!
¿Can be a problem in Alfresco 3.4.5?. Our previous alfresco version (3.3.2) didn´t have that "behavior".
Regards,
Juan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2012 07:00 AM
No the previous behaviour was incorrect and has been fixed. The first minor version should be 0.1 rather than 1.0. The first major version will still be 1.0, that is unchanged.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2012 07:18 AM
No the previous behaviour was incorrect and has been fixed. The first minor version should be 0.1 rather than 1.0. The first major version will still be 1.0, that is unchanged.
So the first time you upload a document using Alfresco web console is considered minor version?
I read the first version should be Major version, ¿is it wrong?
Regards,
![ale_carraro ale_carraro](https://connect.hyland.com/legacyfs/online/avatars/Blue-user-logo.png)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2012 08:37 AM
Found another related 'issue' (i'm using alfresco 4.0.0 (3979))
If the versionable aspect is applied using a rule, and the document is added using explorer, 3 possible outcomes, depending on the wizard
Case 1:
You upload the file, and then you unmark the 'Modify all properties when this page closes.' the document is loaded with version 0.1
Case 2:
You upload the file, and then you leave the 'Modify all properties when this page closes.' and you unmark the 'Auto Version' the document is loaded with version 0.1
Case 3:
You upload the file, and then you leave the 'Modify all properties when this page closes.' and leave the 'Auto Version' the document is loaded with version 0.2
Case 3 is really odd. I also found that the properties memorized in the 0.1 are the ones written in the first page (for example, name property is present in both pages). Makes sense, but imho there should be only one version.
If the versionable aspect is applied using a rule, and the document is added using explorer, 3 possible outcomes, depending on the wizard
Case 1:
You upload the file, and then you unmark the 'Modify all properties when this page closes.' the document is loaded with version 0.1
Case 2:
You upload the file, and then you leave the 'Modify all properties when this page closes.' and you unmark the 'Auto Version' the document is loaded with version 0.1
Case 3:
You upload the file, and then you leave the 'Modify all properties when this page closes.' and leave the 'Auto Version' the document is loaded with version 0.2
Case 3 is really odd. I also found that the properties memorized in the 0.1 are the ones written in the first page (for example, name property is present in both pages). Makes sense, but imho there should be only one version.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2012 10:12 AM
Found another related 'issue' (i'm using alfresco 4.0.0 (3979))
If the versionable aspect is applied using a rule, and the document is added using explorer, 3 possible outcomes, depending on the wizard
Case 1:
You upload the file, and then you unmark the 'Modify all properties when this page closes.' the document is loaded with version 0.1
Case 2:
You upload the file, and then you leave the 'Modify all properties when this page closes.' and you unmark the 'Auto Version' the document is loaded with version 0.1
Case 3:
You upload the file, and then you leave the 'Modify all properties when this page closes.' and leave the 'Auto Version' the document is loaded with version 0.2
Case 3 is really odd. I also found that the properties memorized in the 0.1 are the ones written in the first page (for example, name property is present in both pages). Makes sense, but imho there should be only one version.
So in any case the first version of the document is 1.0?
![ale_carraro ale_carraro](https://connect.hyland.com/legacyfs/online/avatars/Blue-user-logo.png)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2012 10:20 AM
So in any case the first version of the document is 1.0?
No, the first version is now 0.1. This is a wanted change in behavior i read somewhere (not sure if in this forum or in the bug tracker)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2012 07:05 PM
I'm experiencing the same issue in version 3.4.4. I would think the first time I add a new file, it would be version 1.0. MRogers says it should be 0.1 by new design, so I'll accept that. MRogers says, "There's an extra property to set", and it would be nice to have that property listed in this thread to help us all out. Can anyone point us to this property?
I would report that there is a bug in this, however, when using Alfresco Explorer. I choose to create a new file using Create Content, and at the end, I get 0.2 for my very first file.
Thanks
I would report that there is a bug in this, however, when using Alfresco Explorer. I choose to create a new file using Create Content, and at the end, I get 0.2 for my very first file.
Thanks
![](/skins/images/3EA4296CAFBBFFCF1FE252BDE05FE3BC/responsive_peak/images/icon_anonymous_message.png)