Currently it is not allowed to add a default value to an attribute definition
that has no prior default. Only changes to an existing default are allowed.
This enhancement will remove this restriction, allowing a class schema change to
add a default to an attribute definition.
Only new instances of that class will get the default assigned when no value is
provided for the attribute at object-create time.
Old instances with a null-value for that attribute will still have a null-value
for that attribute even after the schema change. A general rule for schema
changes is that the immsv never alters the value of existing attributes as
part of a schema change. Doing so would require the OI to be notified, which is
not realistic since the shcema change is not performed as a CCB.
http://sourceforge.net/p/opensaf/mailman/opensaf-devel/thread/patchbomb.1405067634%40sekic2756.rnd.ki.sw.ericsson.se/#msg32593746
I need to add a bit of logic for upgrade to 4.5.
http://sourceforge.net/p/opensaf/mailman/opensaf-devel/thread/77C0E65300D7E941B20EF4C9B5A47E101CE5AB2F%40ESESSMB209.ericsson.se/#msg32613588
Version 2 of the patch.
http://sourceforge.net/p/opensaf/mailman/opensaf-devel/thread/patchbomb.1405522392%40sekic2756.rnd.ki.sw.ericsson.se/#msg32614106
http://sourceforge.net/p/opensaf/mailman/opensaf-devel/thread/53C7D586.9030206%40ericsson.com/#msg32618894
http://sourceforge.net/p/opensaf/mailman/opensaf-devel/thread/patchbomb.1405932695%40sekic2756.rnd.ki.sw.ericsson.se/#msg32630269
changeset: 5482:6f3e4b4122dd
tag: tip
user: Anders Bjornerstedt anders.bjornerstedt@ericsson.com
date: Mon Jul 21 10:47:38 2014 +0200
summary: IMM: Allow class schema change to add attribute default [#895]
Related
Tickets:
#895