Changes to Class Definitions Not Appearing

Author Message

Deane Barker

Tuesday 03 February 2004 1:11:11 pm

After I create a class, any changes to that class definition are not reflected in the object editor. For instance..

I created a class for "Team Member." I then created an object based on this class. Everything was fine.

Then I decided I wanted to include the team member's mobile phone number, so I went back into the "Team Member" class editor and added a new property: "Mobile Phone."

However, when I go to edit the existing object, that property doesn't appear in the editor. Weird thing is, if I go back to edit the class, the property IS in that editor. If I got to create a new object based on that class, no Mobile Phone field.

Do you have to "publish" new class definitions or something? How do I get ez to recognize changes I made to a class definition?

Deane

Deane Barker

Tuesday 03 February 2004 1:32:33 pm

Here's what happened:

I logged in with another user, and tried to edit the class, and was told it was locked. This didn't seem right since I hit the "store" button multiple times when I created it.

On a hunch, I went back in under the original user with Internet Explorer instead of Mozilla Firebird. Sure enough, the "store" button published the changes. Apparently there's a glitch with using Firebird for that form.

Also, the stylesheets don't work right in Firebird either. This is very much an IE-only app.

Deane

Deane Barker

Tuesday 03 February 2004 2:10:13 pm

It's not fixed after all:

It seems to be random as to whether pressing "store" from the class editor screen will actually store the class. I've pressed "store" a million times, but the new fields are not appearing on the object editor, and when I log in under another user account and try to edit the class, I get a message that the class is locked by the first user.

What's the trick to actualy storing these class changes?

Deane

Wenyue Yu

Thursday 05 February 2004 4:36:56 am

Hi,

Which php version are you using? It seems that old php version has problem with class editing/creating.

Regards,
wenyue

Deane Barker

Thursday 05 February 2004 5:12:43 am

> Which php version are you using?

4.1.2

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

Main resources:

Total runtime0.0156 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.0391152.6406
Module start 'layout' 0.00500.0028 740.679739.4766
Module start 'content' 0.00780.0059 780.156393.3359
Module end 'content' 0.01370.0018 873.492234.3047
Script end 0.0155  907.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002314.8561140.0002
Check MTime0.00106.4279140.0001
Mysql Total
Database connection0.00063.629810.0006
Mysqli_queries0.002415.358530.0008
Looping result0.00000.096510.0000
Template Total0.00159.710.0015
Template load0.00085.254810.0008
Template processing0.00074.426210.0007
Override
Cache load0.00063.778410.0006
General
dbfile0.001610.054780.0002
String conversion0.00000.065940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs