CLASS ATTRIBUTES DISAPPEARING - WHY?!

Author Message

Claus Jensen

Monday 10 November 2003 1:55:24 am

Hi,
I experience strange things when editing a class after objects have been instansiated from it. If I add new attributes to the class and save the class, afterwards I can only see the new attributes, the old ones are GONE!! I have reported this as a bug. Does anybody have the same problems? I have two live sites now where this is the case.

link to bug: http://ez.no/developer/ez_publish_3/bug_reports/class_attributes_gone_when_editing_class

Is it possible to get some help from the creators here??

I have looked for the attributes in the database, and they are still there, maybe there is still hope! The admin interface also seems to be confused, it shows the wrong templates for some classes: for a full view on "Service" class it shows "product review" template when in the lists it says correctly class: "services"

claÜs

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

Main resources:

Total runtime0.6813 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.0050 589.0469152.6250
Module start 'layout' 0.00500.0034 741.671939.4453
Module start 'content' 0.00850.6714 781.1172400.0938
Module end 'content' 0.67990.0014 1,181.21098.1563
Script end 0.6813  1,189.3672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4585160.0002
Check MTime0.00120.1819160.0001
Mysql Total
Database connection0.00080.117010.0008
Mysqli_queries0.644794.6173460.0140
Looping result0.00050.0685440.0000
Template Total0.649795.420.3249
Template load0.00210.310620.0011
Template processing0.647695.045520.3238
Template load and register function0.00020.034910.0002
states
state_id_array0.00090.130010.0009
state_identifier_array0.00170.253920.0009
Override
Cache load0.00170.247890.0002
Sytem overhead
Fetch class attribute can translate value0.00090.127210.0009
Fetch class attribute name0.00100.147010.0010
XML
Image XML parsing0.00020.034510.0002
class_abstraction
Instantiating content class attribute0.00000.000910.0000
General
dbfile0.00060.0941100.0001
String conversion0.00000.001340.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