eZPackage & Content class versionning

Author Message

Jérôme Vieilledent

Thursday 07 February 2008 2:14:24 am

Hello,

I would like to know if there is a way to version content class packages...
For example, I released the 1.0 version of my site with all content classes packaged. I created several content objects with my custom classes.

What if I have to modify several of my custom classes by adding fields for example ? If I try to import my new package (new version 1.0.1 of my classes package), the system tells my it's impossible because the package is already installed. And if I try to uninstall the previous version, eZPublish warns me that all my objects created with my custom classes will be deleted !

Is there an issue for that ?
Thanks

JT -

Wednesday 09 December 2009 2:05:28 am

Hi!

I have problems related to the package management too:

I can export a package easily but if I try to update the same package that doesn't work. I have to delete the old one before I can export a new one or I have to rename it. IMHO that's not sensible. There is a version counter one can edit and that means the package should be replaced by the new one.
If I have to delete it the comment "- Creation of package." is rather futile because one can only create new packages. Isn't it?

I would expect an "Update"-Button to rebuild the exported package with exactly the same parameters except the version and an additional comment.

And on the other side of the process:

I totally agree with Jerôme; one should be able to import an updated package

  • that respects the existing package (and updates it instead of having to delete and install manually)
  • that respects existing content (i.e. it is not deleted but kept; or kept and updated)

Is this issue going to be solved (the message by Jerôme is almost 2 years old...) or is it just balderdash?

Thx in advance,

JT

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 30 2025 21:10:43
Script start
Timing: Jan 30 2025 21:10:43
Module start 'layout'
Timing: Jan 30 2025 21:10:43
Module start 'content'
Timing: Jan 30 2025 21:10:44
Module end 'content'
Timing: Jan 30 2025 21:10:44
Script end

Main resources:

Total runtime1.1523 sec
Peak memory usage8,192.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 588.2500151.2266
Module start 'layout' 0.00700.0052 739.4766220.7031
Module start 'content' 0.01231.1391 960.17974,415.1094
Module end 'content' 1.15140.0009 5,375.28917.8438
Script end 1.1523  5,383.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3075160.0002
Check MTime0.00120.1056160.0001
Mysql Total
Database connection0.00060.054510.0006
Mysqli_queries1.064592.3809540.0197
Looping result0.00050.0432520.0000
Template Total1.085394.220.5427
Template load0.00190.166620.0010
Template processing1.083494.019220.5417
Template load and register function0.00150.129110.0015
states
state_id_array0.00260.228510.0026
state_identifier_array0.00190.162420.0009
Override
Cache load0.00160.1402270.0001
Sytem overhead
Fetch class attribute can translate value0.00160.140420.0008
Fetch class attribute name0.00230.198230.0008
XML
Image XML parsing0.00240.205720.0012
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00410.3533170.0002
String conversion0.00000.001040.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
2content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 9

Time used to render debug report: 0.0002 secs