cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Minor Versions in Share

volkerlux
Champ in-the-making
Champ in-the-making
Hello,

<strong>My Environment:</strong>
I am using Adobe Drive 5 and Alfresco 4.0d.

<strong>My Problem: </strong>
Adobe Drive does not handle minor versions of files correctly. Thats why i want to disable the minor versions in the share client completely. Or at least make major versions the default version type when uploading a file/version in the share webclient.

<strong>Why: </strong>
Some of my customers upload new versions in the share client as "minor" version even though i told them not to do this. And if i try to access these files with my Adobe Drive Client i only get the latest MAJOR version. So i want to make the major version the default version or better disable minor versions completely.

How can i realize this (alfresco update proof at best)?

Best regards
Volker
2 REPLIES 2

volkerlux
Champ in-the-making
Champ in-the-making
No ideas, anybody?

barsik
Champ in-the-making
Champ in-the-making
Have identical issue in my environment. This probably is not the most optimal way to accomplish this - but

edit:

/opt/alfresco-4.2.f/tomcat/webapps/share/modules/document-details/revert-version-min.js

replace all three instances of "minorVersion" with "majorVersion" (two on line 182 and one on 348)

then run  /opt/alfresco-4.2.f/bin/clean_tomcat.sh

refresh the page.

Now when clicking on revert in web interface will default to Major Version.

NiKO