Forums / Developer / Disappearing objects

Disappearing objects

Author Message

Brendan Pike

Wednesday 13 July 2005 11:42:15 pm

On a few occasions now we have noticed that objects have simply disappeared from our system. It "may" be related to faulty workflow, collaboration or the draft system. It is of great concern and undermines the integrity so I am eager to try and discover what is causing it. I have not yet been able to deliberately cause this so I am unsure why this occurs.

One theory I had was that an object was edited, went into workflow but before been approved / denied the original object was deleted by an administrator leaving a ghost in workflow, perhaps then causing damage to other objects also in workflow because you are forced to run the clean.php script to get workflow functioning again.

I have also seen occurrences of users drafts containing draft versions of deleted (non existent) objects. Trying to then clear these drafts can give fatal errors to eZ publish. Lots of questions not many answers at the moment but just want to raise this topic and see if others have faced similar troubles.

The class I refer to contains the following datatypes:
2 x Text Line, 3 x File, 1 x Identifier, 1 x Enum, 2 Text Block, 1 x Time, 1 x Unique and 1 x Enhanced Selection

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Per-Espen Kindblad

Thursday 14 July 2005 1:01:42 am

Hi!

We have also experienced something like this. Sometimes content just dissapeared, but this had to do with the caching-system in eZ publish. If we ran clearcache.sh a couple of times, then the content was available again.

Frustrating, but it seems stable now(..a couple of bugs which are fixed).

I guess this is a little bit different from your case, but have you done a -grep in the ez-admin-access.log to see if these objects are edited and deleted by editors and not by the workflow? Maybe you should add some logging in the workflow, so you can see which objects are beeing removed..

Btw. you write: "I have also seen occurrences of users drafts containing draft versions of deleted (non existent) objects."

If this is the case then the eZ Crew must change some code here. When an object is deleted, the version-history also have to be updated..maybe some caching-problems??

Igor Vrdoljak

Saturday 29 July 2006 8:12:47 am

In my case, this was caused by not having transaction support enabled i combination with php timeout. During a simple save of node containing many subnodes, all the content under the node was lost. To be more accurate, objects are still there, but there is no connection to corresponding nodes.

Since that incident, I never intend to use non-transactional setting.

http://www.netgen.hr/eng
http://twitter.com/ivrdoljak

eZ debug

Timing: Jan 20 2025 06:43:01
Script start
Timing: Jan 20 2025 06:43:01
Module start 'content'
Timing: Jan 20 2025 06:43:02
Module end 'content'
Timing: Jan 20 2025 06:43:02
Script end

Main resources:

Total runtime1.1114 sec
Peak memory usage4,096.0000 KB
Database Queries196

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.8516180.8438
Module start 'content' 0.00610.9701 769.6953582.4688
Module end 'content' 0.97610.1352 1,352.1641336.7578
Script end 1.1113  1,688.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.3664210.0002
Check MTime0.00150.1363210.0001
Mysql Total
Database connection0.00080.073610.0008
Mysqli_queries1.042093.75601960.0053
Looping result0.00220.19421940.0000
Template Total1.084497.620.5422
Template load0.00210.186420.0010
Template processing1.082397.381320.5411
Template load and register function0.00020.013810.0002
states
state_id_array0.00080.072810.0008
state_identifier_array0.00090.084520.0005
Override
Cache load0.00180.1576200.0001
Sytem overhead
Fetch class attribute can translate value0.00150.136040.0004
Fetch class attribute name0.00090.083150.0002
XML
Image XML parsing0.00390.349440.0010
class_abstraction
Instantiating content class attribute0.00000.000950.0000
General
dbfile0.00520.4698300.0002
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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/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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs