Problem with simultaneous class edit

Author Message

Michael Bolien

Tuesday 26 August 2003 2:04:05 am

Hi all, we run to great projects in one ezdatabase on ez 3.1.1. We are five admins to maintain data: Now we encountered a really weird thing:

If two or more admins are in setup/classes/content/some class and leave that class via 'Discard' the same time coincidentally, the object "some class" disappears.

It is never more displayed in content although it is still listed in the table 'ezcontentclass'.

I still hope, that this is our own failure, maybe a configuration error? Bit, if it is a failure, it must be fixed immediately - otherwise we can't continue our work with ez.

Regards,
Michael

Jan Borsodi

Tuesday 26 August 2003 6:20:01 am

We should add some warnings if a temporary version exists and it's not made by you, if this is true you shouldn't be allowed to edit the class.

Perhaps a possibility to hijack the version if modification older than n hours?

Besides from this I can't really recommend having multiple admins running around changing the same data at the same time, it's bound to give problems whatever system you have for it.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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 11:32:22
Script start
Timing: Jan 18 2025 11:32:22
Module start 'layout'
Timing: Jan 18 2025 11:32:22
Module start 'content'
Timing: Jan 18 2025 11:32:23
Module end 'content'
Timing: Jan 18 2025 11:32:23
Script end

Main resources:

Total runtime1.6210 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 587.9141152.6250
Module start 'layout' 0.00640.0040 740.539139.4609
Module start 'content' 0.01041.6091 780.0000520.2656
Module end 'content' 1.61950.0015 1,300.26568.3125
Script end 1.6210  1,308.5781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2082160.0002
Check MTime0.00140.0843160.0001
Mysql Total
Database connection0.00110.067310.0011
Mysqli_queries1.576697.2622540.0292
Looping result0.00050.0318520.0000
Template Total1.582997.620.7914
Template load0.00210.127420.0010
Template processing1.580897.519920.7904
Template load and register function0.00030.021010.0003
states
state_id_array0.00100.058810.0010
state_identifier_array0.00120.071520.0006
Override
Cache load0.00170.1056140.0001
Sytem overhead
Fetch class attribute can translate value0.00070.043220.0004
Fetch class attribute name0.00110.068830.0004
XML
Image XML parsing0.00070.041920.0003
class_abstraction
Instantiating content class attribute0.00000.000430.0000
General
dbfile0.00080.0510170.0000
String conversion0.00000.000640.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs