Forums / General / Changes to Class Definitions Not Appearing

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

eZ debug

Timing: Jan 18 2025 18:34:09
Script start
Timing: Jan 18 2025 18:34:09
Module start 'content'
Timing: Jan 18 2025 18:34:09
Module end 'content'
Timing: Jan 18 2025 18:34:09
Script end

Main resources:

Total runtime0.8452 sec
Peak memory usage4,096.0000 KB
Database Queries200

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 587.8359180.8203
Module start 'content' 0.00640.6122 768.6563531.1719
Module end 'content' 0.61860.2265 1,299.8281337.3750
Script end 0.8451  1,637.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4604210.0002
Check MTime0.00150.1746210.0001
Mysql Total
Database connection0.00100.114410.0010
Mysqli_queries0.764890.49522000.0038
Looping result0.00240.28981980.0000
Template Total0.815496.520.4077
Template load0.00200.242120.0010
Template processing0.813496.239620.4067
Template load and register function0.00010.010110.0001
states
state_id_array0.00120.138610.0012
state_identifier_array0.00170.204320.0009
Override
Cache load0.00170.2015320.0001
Sytem overhead
Fetch class attribute can translate value0.00190.219430.0006
Fetch class attribute name0.00110.126660.0002
XML
Image XML parsing0.00090.106530.0003
class_abstraction
Instantiating content class attribute0.00000.002390.0000
General
dbfile0.00210.2446270.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs