- **status**: accepted --> review
- **Comment**:
Version 2 of the patch.
http://sourceforge.net/p/opensaf/mailman/opensaf-devel/thread/patchbomb.1405522392%40sekic2756.rnd.ki.sw.ericsson.se/#msg32614106
---
** [tickets:#895] imm: Allow class schema change to add attribute default **
**Status:** review
**Milestone:** 4.5.FC
**Created:** Fri May 09, 2014 01:32 PM UTC by Anders Bjornerstedt
**Last Updated:** Wed Jul 16, 2014 01:20 PM UTC
**Owner:** Anders Bjornerstedt
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.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets