Unable to get ezxmlinstaller to update class

Author Message

Lars Eirik Rønning

Tuesday 11 May 2010 7:21:06 am

Hi.
I am trying to use the ezxmlinstaller to update some content classes of mine.
When i try to add a new field this is not reflected in the admin gui.

When trying to run the installer with createclass and existAction set to replace i get a warning that the ezContentClass set function is not defined. Looking at the superclass this is correct.

My question is this:
Does updating an existing class with new attributes not work?

Does updating an existing class with removing attributes not work (i believe the answer is no as the code is commented out..:)

Please let me know if there are examples on how to do updating of existing class with new attributes as this is very important in my case.

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 05:00:39
Script start
Timing: Jan 18 2025 05:00:39
Module start 'layout'
Timing: Jan 18 2025 05:00:39
Module start 'content'
Timing: Jan 18 2025 05:00:40
Module end 'content'
Timing: Jan 18 2025 05:00:40
Script end

Main resources:

Total runtime0.9743 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 591.6797152.6406
Module start 'layout' 0.00670.0032 744.320339.4766
Module start 'content' 0.00990.9629 783.7969401.5703
Module end 'content' 0.97280.0015 1,185.36728.1250
Script end 0.9742  1,193.4922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3474160.0002
Check MTime0.00140.1479160.0001
Mysql Total
Database connection0.00160.159410.0016
Mysqli_queries0.930695.5154460.0202
Looping result0.00060.0615440.0000
Template Total0.933795.820.4669
Template load0.00200.208420.0010
Template processing0.931795.627920.4658
Template load and register function0.00020.024310.0002
states
state_id_array0.00130.130310.0013
state_identifier_array0.00400.412820.0020
Override
Cache load0.00160.1672150.0001
Sytem overhead
Fetch class attribute can translate value0.00110.111210.0011
Fetch class attribute name0.00140.143910.0014
XML
Image XML parsing0.00010.012410.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00080.0804100.0001
String conversion0.00000.001140.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs