cancel
Showing results for 
Search instead for 
Did you mean: 

Control version number

s0b
Champ in-the-making
Champ in-the-making
Hi all,

In my Alfresco, some files allow versions, then when i modify some of that files, a new version is generated.

My problem comes when i modify the properties of a file with "CMLUpdate", Alfresco makes a new version but the file is the same. I want to fix it controlling the version number of the documents:

- When the file content changes the number version must be some like "1.1", "1.2", "1.3", etc…
- When the file properties changes and the file is the same, the number version must be "1.1.1", "1.1.2", etc…

That is possible in Java?

Thanks!


P.D: Sorry my english Smiley Sad
4 REPLIES 4

norgan
Champ in-the-making
Champ in-the-making
It has been discussed here before, try some searches here.

s0b
Champ in-the-making
Champ in-the-making
I have tried some searchs, but surely i havent looked for the correct terms. Sorry, I'll try harder.

s0b
Champ in-the-making
Champ in-the-making
After a lot of time searching with the advanced search of the forum and with google… i havent results. Thanks anyway.

norgan
Champ in-the-making
Champ in-the-making
tried a quick search bit could not find it as well - there was a discussion about controllong the version numbers and Mikeh (i think) answered, that with the new CE version, it is possible to distinguish between property updates and content updates and which classes to extend (or so).