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 15 2025 03:48:49
Script start
Timing: Jan 15 2025 03:48:49
Module start 'content'
Timing: Jan 15 2025 03:48:50
Module end 'content'
Timing: Jan 15 2025 03:48:50
Script end

Main resources:

Total runtime0.9181 sec
Peak memory usage6,144.0000 KB
Database Queries189

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 683.9844214.8047
Module start 'content' 0.00510.7989 898.78911,847.7344
Module end 'content' 0.80400.1140 2,746.5234631.1875
Script end 0.9180  3,377.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00780.8485210.0004
Check MTime0.00150.1665210.0001
Mysql Total
Database connection0.00050.057010.0005
Mysqli_queries0.827590.12931890.0044
Looping result0.00170.18511860.0000
Template Total0.892097.220.4460
Template load0.00510.558320.0026
Template processing0.886996.600720.4434
Template load and register function0.00100.109710.0010
states
state_id_array0.00080.082110.0008
state_identifier_array0.00120.128220.0006
Override
Cache load0.00470.5132200.0002
Sytem overhead
Fetch class attribute can translate value0.00120.135940.0003
Fetch class attribute name0.00210.227750.0004
XML
Image XML parsing0.00110.119540.0003
class_abstraction
Instantiating content class attribute0.00000.001150.0000
General
dbfile0.00110.1175240.0000
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.0001 secs