Forums / Developer / Problem with versionning

Problem with versionning

Author Message

Yannick Komotir

Tuesday 23 June 2009 3:50:42 am

hi,
on my recent work I have disabled versionning by a

    [ContentSettings]
    EditDirtyObjectAction=usecurrent
 

in site.ini and in content.ini

   [VersionManagement]
   DefaultVersionHistoryLimit=2
   DeleteDrafts=enabled
 

in fact, in my case the views are edit pages, after the introduction of the system I see two things :
1° an incrementing of versions number
2° when an object has been edited several times acces to the edit page for the item is very heavy to load;

Can someone tell me whether my procedure is wrong or if I forget something? it's a bug ?my goal is to freeze versions for not saturate data base.

instance is in Ez Publish 4.0.1

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

André R.

Tuesday 23 June 2009 4:21:27 am

Its not possible to disable versioning completely, and EditDirtyObjectAction doesn't work that way.
It just enables you to edit already opened drafts of an object instead of showing you a version conflict screen when you try to edit content with open drafts (happens when you edit some content, and do not click publish or discard draft).

I'm not sure why you have issue #2, is it a object by now with lots of content and relations?

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Yannick Komotir

Tuesday 23 June 2009 4:44:49 am

Thank Andre for your answer and clarification about EditDirtyObjectAction.

The objects don't contain any objects relations, if not do you a suggestion to offer me for better management in my case, knowing that users always work on edit mode.

<i>sorry for my poor english</i>

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk