Hi,
whenever I create a parent class with attributes and add a new attribute at a later point, this new attribute is also visible in the classes underneath. But whenever I change something in the parent class, i.e. the length of the string from 10 to 50, it is only changed in the parent class, but not in the class underneath. I then have to change the length value seperately in the inherited class.
Saw this behavior while creating a new database. Is this a normal manner or a bug? I thought that whenever I change something in the parent class, this change is also distributed to its child classes.
Regards, Thomas
I confirm to you that this is the desired behavior.
CMDBuild Team
Previously Tecnoteca wrote:
I confirm to you that this is the desired behavior.
CMDBuild Team
Well, I have some doubts on this.
I.e. I've created a parent class and modified the fields CODE and DESCRIPTION to be only 10/50 characters long. Then I create a new class underneath with the parent class as reference. Result is that regardless what I've set to its parent class, CODE and DESCRIPTION are again 100/250 character fields.
From my point of view all settings from the class above should be treated as default values at least when creating child classes. When I set CODE to be 10 chars long, the created child class should also use this 10 chars as reference, not 100 from the system default.
Btw, is it possible to change this default values (length) somewhere?
Regards, Thomas
Previously Thomas wrote:
Previously Tecnoteca wrote:
I confirm to you that this is the desired behavior.
CMDBuild Team
Well, I have some doubts on this.
I.e. I've created a parent class and modified the fields CODE and DESCRIPTION to be only 10/50 characters long. Then I create a new class underneath with the parent class as reference. Result is that regardless what I've set to its parent class, CODE and DESCRIPTION are again 100/250 character fields.
From my point of view all settings from the class above should be treated as default values at least when creating child classes. When I set CODE to be 10 chars long, the created child class should also use this 10 chars as reference, not 100 from the system default.
Btw, is it possible to change this default values (length) somewhere?
Regards, Thomas
Additional information: a changed description name is taken from the parent class.
Regards, Thomas