Package bug?

Author Message

Eric Bourgain

Friday 20 January 2006 2:24:22 am

Hi Everybody,

I've found a strange thing in using the 'package' feature. To say the truth, I think it is a bug, but I would like some more advice about it.

We use eZP (3.6.4) as the kernel of our web sites, and we have developped tools and extensions around it. As in any development process, things change, and we have many version of these. For instance, the class definition evolve.
To be able to upgrade an existing site, I thought that I will use the package feature, that seemed nicely done. B ut it does not work. When I install a package that include a class modification, the existing instances of the classes does not see the modification, although the new ones do.
For instance, I have a package with a new attribute added to the class 'article'. I am unable to set a value to this attribute in the old instances. New ones see have them.
Furthermore, if after installation, I still add a new attribute to the class 'article', the old instances have this new attribute, but not those that were in the package...

What do you think of this?

Eric

Eric Bourgain

Thursday 26 January 2006 9:39:18 am

Created bug #7731

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

Main resources:

Total runtime1.3139 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.7891152.6094
Module start 'layout' 0.00510.0032 740.398439.3984
Module start 'content' 0.00831.3042 779.7969423.9141
Module end 'content' 1.31260.0013 1,203.71098.2031
Script end 1.3138  1,211.9141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2449160.0002
Check MTime0.00130.0989160.0001
Mysql Total
Database connection0.00060.046110.0006
Mysqli_queries1.273996.9618520.0245
Looping result0.00060.0467500.0000
Template Total1.277397.220.6386
Template load0.00190.142820.0009
Template processing1.275497.073820.6377
Template load and register function0.00010.010710.0001
states
state_id_array0.00130.100710.0013
state_identifier_array0.00290.221120.0015
Override
Cache load0.00150.1162130.0001
Sytem overhead
Fetch class attribute can translate value0.00080.064210.0008
Fetch class attribute name0.00100.079220.0005
XML
Image XML parsing0.00020.012010.0002
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00070.0538100.0001
String conversion0.00000.000740.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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs