cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco VTI: Checkout fails + multiple versions when saving

qkyrie
Champ in-the-making
Champ in-the-making
Hi all

Today we stumbled upon a few issues regarding the spp-plugin in Alfresco.

Until yesterday, I was able to perform an online edit using the sharepoint protocol. I was able to checkout and checkin in windows office 2007 without any issues. The only problem was that I had to edit the BasicAuthLevel in the registry and set it to 2.

Because the company I'm rolling this out to consists of quite some "dummy" users, editing the registry was no valid configuration. Therefore, I configured Share to make connections go to an ssl-certified subdomain. This solved the BasicAuthLevel.

Unfortunately, this implied new issues.

First of all, checkouts are no longer possible. If I edit a file online, I cannot do a checkout, it simply goes back to my word-document without checking out the document. Share also does not say the file is checked out. Although, if a second person tries do do an online edit, office presents the user with a dialog saying someone else is already editing, resulting in read-mode until the editor closes the document. This wouldn't be that big of an issue if we who was editing the file (visible in the share somewhere).

Second of all, whenever a current version is saved (so not by checking in, because that's not available due to the lack of being able to check out) the repository creates 4 - 6 new versions.

My questions:
How is it possible the behaviour of this spp changes purely by putting an ssl server in front of it?

Current setup:
Alfresco 4.2b
Alfresco 4.2c spp (nightly)
Office 2007

grtz
Q
2 REPLIES 2

sistemascssl
Champ in-the-making
Champ in-the-making
Hello,

I've exactly the same problem as you with versions when saving from Microsoft Exchange 2007. I haven't any problem with checkin and checkout, but our users prefer to use Microsoft Office Sharepoint connection.

Have you solved the version generation problem? And if you want, we can exchange information about CIFS contiguration to know what's your problem with checkin and checkout.

Regards!

paride
Champ in-the-making
Champ in-the-making
The solution for me was setting to false the "cm:autoVersionOnUpdateProps" in the "cm:versionable" aspect in the ContentModel.xml.
After doing this, Alfresco Share doesn't generate multiple versions anymore.
Here there's the code:


<aspect name="cm:versionable">
        <title>Versionable</title>
        <properties>
           <property name="cm:versionLabel">
              <title>Version Label</title>
              <type>d:text</type>
              <protected>true</protected>
           </property>
           <property name="cm:initialVersion">
              <title>Initial Version</title>
              <type>d:boolean</type>
              <default>false</default>
           </property>
           <property name="cm:autoVersion">
              <title>Auto Version</title>
              <type>d:boolean</type>
              <default>true</default>
           </property>
           <property name="cm:autoVersionOnUpdateProps">
              <title>Auto Version - on update properties only</title>
              <type>d:boolean</type>
              <default>false</default>
           </property>
         </properties>
     </aspect>