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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:35:38
Script start
Timing: Jan 18 2025 19:35:38
Module start 'layout'
Timing: Jan 18 2025 19:35:38
Module start 'content'
Timing: Jan 18 2025 19:35:39
Module end 'content'
Timing: Jan 18 2025 19:35:39
Script end

Main resources:

Total runtime0.8483 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 589.0313152.6250
Module start 'layout' 0.00450.0026 741.656339.4453
Module start 'content' 0.00710.8399 781.1016549.7266
Module end 'content' 0.84690.0014 1,330.828112.1641
Script end 0.8483  1,342.9922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.3389160.0002
Check MTime0.00120.1446160.0001
Mysql Total
Database connection0.00060.070110.0006
Mysqli_queries0.803594.7110570.0141
Looping result0.00040.0524550.0000
Template Total0.825297.320.4126
Template load0.00170.198020.0008
Template processing0.823597.074220.4118
Template load and register function0.00010.013210.0001
states
state_id_array0.00080.096310.0008
state_identifier_array0.00090.104320.0004
Override
Cache load0.00140.1638250.0001
Sytem overhead
Fetch class attribute can translate value0.00050.056520.0002
Fetch class attribute name0.00100.123350.0002
XML
Image XML parsing0.00100.118220.0005
class_abstraction
Instantiating content class attribute0.00000.001260.0000
General
dbfile0.00090.1055230.0000
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs