Shut off versioning?

Author Message

Deane Barker

Monday 23 January 2006 1:10:25 pm

Is there a way to just shut off versioning completely? Ninety percent of my clients don't need or want it, and the "Possible Edit Conflict" warning really throws users into a tizzy.

Alternately, is there a way to permanently specify the answer to the "Possible Edit Conflict" question? I'd prefer to kill versioning altogether, but this would be the next best thing.

Deane

Ɓukasz Serwatka

Monday 23 January 2006 11:32:04 pm

Hi Deane,

Put this setting in site.ini.append.php for your siteaccess

# What to do when editing an object that has draft versions newer than the current version.
# Use 'showversions' to select which version to edit, or 'usecurrent' to always edit the current version.
EditDirtyObjectAction=usecurrent

Check also [VersionManagement] in content.ini

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Paul Borgermans

Tuesday 24 January 2006 4:00:17 am

Hi

If you are on 3.6 or 3.7, could you try out this patch by Kristof:

http://pubsvn.ez.no/community/trunk/hacks/untoucheddrafts/

Plesae test it and share your experience

Additionally, you may also disable the store draft button in the edit templates, then you won't have this again ..."ever".

--paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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 18:36:37
Script start
Timing: Jan 18 2025 18:36:37
Module start 'layout'
Timing: Jan 18 2025 18:36:37
Module start 'content'
Timing: Jan 18 2025 18:36:38
Module end 'content'
Timing: Jan 18 2025 18:36:38
Script end

Main resources:

Total runtime0.6597 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 588.9063152.6094
Module start 'layout' 0.00750.0032 741.515639.4297
Module start 'content' 0.01070.6475 780.9453584.8125
Module end 'content' 0.65820.0015 1,365.757812.1875
Script end 0.6597  1,377.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4848160.0002
Check MTime0.00130.1985160.0001
Mysql Total
Database connection0.00130.201910.0013
Mysqli_queries0.606591.9294590.0103
Looping result0.00060.0940570.0000
Template Total0.629195.420.3146
Template load0.00210.311020.0010
Template processing0.627095.050720.3135
Template load and register function0.00010.014910.0001
states
state_id_array0.00090.134510.0009
state_identifier_array0.00070.106720.0004
Override
Cache load0.00170.2616210.0001
Sytem overhead
Fetch class attribute can translate value0.00110.164930.0004
Fetch class attribute name0.00130.201660.0002
XML
Image XML parsing0.00160.249530.0005
class_abstraction
Instantiating content class attribute0.00000.001660.0000
General
dbfile0.00100.1496310.0000
String conversion0.00000.001840.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs