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.