Version-problems(how to delete)

Author Message

K259

Monday 30 August 2004 3:41:28 am

Our users have big problems with maximum numbers of versions of an object is reached.
I've checked the permissions-settings, and the usergroup has the proper permission for versionread. BUT, which grant shall be given to give the user the right to delete the versions, when the max-number is reached?...Now the admin-user has to go in for every user and delete versions, because the users don't get the possibillity to delete earlier versions.

I thought eZ publish automatically deleted the oldest version if the max-number was reached..but not.

Urgent advices is needed.

Gurudutt Verma

Wednesday 01 September 2004 5:05:38 am

Hi
Have a look in the file <b>settings/content.ini</b>
and change the <b>DefaultVersionHistoryLimit</b>
[VersionManagement]
DefaultVersionHistoryLimit=5

This setting show that ezcontentobject_version table will store only latest five versions of object and all versions older than 5 will be deleted automatically.
You can also set this limit to particular class by setting <b>VersionHistoryClass[1]</b>
I guess this should work.

K259

Wednesday 01 September 2004 12:08:14 pm

Yes I know, but what access does a user need to edit the version-history list and delete a version? Our users got content-remove from all objects they (self) created, but are not able to delete the versions anyway.

Kåre Køhler Høvik

Tuesday 07 September 2004 5:57:43 am

The problem you describe is caused by users having more drafts than they're allowed. A fix for this has been added to trunk rev. 7880. ( 3.5 )

Kåre Høvik

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 19 2025 04:24:17
Script start
Timing: Jan 19 2025 04:24:17
Module start 'layout'
Timing: Jan 19 2025 04:24:17
Module start 'content'
Timing: Jan 19 2025 04:24:18
Module end 'content'
Timing: Jan 19 2025 04:24:18
Script end

Main resources:

Total runtime0.8344 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0038 589.1563152.6250
Module start 'layout' 0.00380.0020 741.781339.4453
Module start 'content' 0.00580.8270 781.2266580.9688
Module end 'content' 0.83280.0015 1,362.195312.1641
Script end 0.8344  1,374.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00280.3374160.0002
Check MTime0.00130.1556160.0001
Mysql Total
Database connection0.00040.050210.0004
Mysqli_queries0.780393.5176620.0126
Looping result0.00090.1094600.0000
Template Total0.809997.120.4050
Template load0.00190.225620.0009
Template processing0.808196.840020.4040
Template load and register function0.00020.020910.0002
states
state_id_array0.00070.078510.0007
state_identifier_array0.00140.166820.0007
Override
Cache load0.00160.1888220.0001
Sytem overhead
Fetch class attribute can translate value0.00060.067230.0002
Fetch class attribute name0.00120.149260.0002
XML
Image XML parsing0.00170.208430.0006
class_abstraction
Instantiating content class attribute0.00000.002160.0000
General
dbfile0.00130.1512210.0001
String conversion0.00000.000840.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
4content/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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs