Forums / General / Deleted attribute for class does not delete objects' attributes

Deleted attribute for class does not delete objects' attributes

Author Message

Thomas Brandl

Friday 25 July 2003 2:34:07 am

Hi,

I created a class with attributes a, b and c and two objects from this class. Later I removed attribute c from the class but these two objects still carry that original value and I can't edit these attributes anymore (of course not).

Shouldn't attribute values also be deleted from objects, when their parent class loses it? How do I get rid of them?

Thanks a lot!
Thomas

Jan Borsodi

Saturday 26 July 2003 5:46:59 am

The attributes should have been deleted, if not there is a bug of some kind.
Which eZ publish version are you using?
Has there been some modifications to it, new extensions, changed some PHP code?

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Thomas Brandl

Monday 28 July 2003 1:43:54 am

Hey Jan,

version is 3.1-1, with no mods at all! Maybe some others try the same thing so we confirm it's a bug (or maybe my fault).

regrads
Tom