Information collection / collector - holes in numbering

Author Message

Ekkehard Dörre

Friday 26 September 2008 8:38:05 am

Hi together,

I discovered in a 3.8.6 version that there are holes in numbering of the collected informations.

admin -> setup -> infomation collection, click on the number of items.

There is only one info collector, no deleted items, but

343, 344, 345, 350, 351 etc.

Where are 346, 347, 348, 349 ?

In database the ID in ezinfocollection is auto_increment. A direct look into the database has the same result

I tried, before digging deep into the code, the form with the required fields not filled out, but then there is no entry in database.

http://the-ezpublish-admin.example.com/infocollector/view/345
http://the-ezpublish-admin.example.com/infocollector/view/346

anybody an idea?

Thanks and greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Gaetano Giunta

Friday 26 September 2008 9:01:32 am

I think that the global collected_info sequence is incrementing "without holes", but for any single object collecting informations the list of collections that relate to it can look like gruyere chese - exactly because the id is global and not per-object.

Unfortunately the current info-collection related fetches are made in such a way that it is quite easy to use the mechanism for polls, but almost impossible to use it for eg. comments.

Luckily it is not very hard to add your own, improved, info-collection fetches that will execute the correct queries in the db and fetch all collections pertaining to a given object (if that was the final goal, that is)

Otoh, can collections be deleted? That would be a handy explanation!

Principal Consultant International Business
Member of the Community Project Board

Ekkehard Dörre

Friday 26 September 2008 11:02:47 am

Hi Gaetano,

<i>[...] but for any single object collecting informations the list of collections that relate to it can look like gruyere chese [...]</i> yes, like an very old one ;-) , this was my first thought, but there is only one info collector, and the information collection / collector - holes are visible in database, too.

And deleting, no, nobody.

Anybody with similar symptoms?

Not this:
http://issues.ez.no/9745

Perhaps this: http://issues.ez.no/10105 at kernel/content/collectedinfo.php the version 3.8.6 was with this error:

http://pubsvn.ez.no/viewcvs/stable/3.8/kernel/content/collectedinfo.php?root=nextgen&rev=18056&r1=15970&r2=18056

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

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

Main resources:

Total runtime0.6504 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 588.0391152.6406
Module start 'layout' 0.00430.0062 740.679739.4922
Module start 'content' 0.01060.6385 780.1719550.7813
Module end 'content' 0.64910.0013 1,330.953112.1250
Script end 0.6504  1,343.0781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5750160.0002
Check MTime0.00130.2058160.0001
Mysql Total
Database connection0.00040.061910.0004
Mysqli_queries0.589390.5941570.0103
Looping result0.00060.0890550.0000
Template Total0.595191.520.2975
Template load0.00280.430020.0014
Template processing0.592391.058720.2961
Template load and register function0.00010.015710.0001
states
state_id_array0.00731.126810.0073
state_identifier_array0.00210.322420.0010
Override
Cache load0.00230.3599330.0001
Sytem overhead
Fetch class attribute can translate value0.00060.097920.0003
Fetch class attribute name0.00100.149150.0002
XML
Image XML parsing0.00100.155420.0005
class_abstraction
Instantiating content class attribute0.00000.001960.0000
General
dbfile0.00100.1509220.0000
String conversion0.00000.001740.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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs