Ticket #847 (accepted enhancement)
IMMSv: saImmOiCcbObjectCreateCallbackT_2 should include attribute values set by default
| Reported by: | anders | Owned by: | anders |
|---|---|---|---|
| Priority: | minor | Milestone: | 4.1.0 |
| Component: | IMMSv | Version: | 4.0.M4 |
| Keywords: | Cc: | ||
| patch waiting for maintainer: | no |
Description
This callback is defined to include:
"All parameters of the creation request are provided as parameters
of the callback function.."
Following only the standard, the callback does not include attribute
values set by a default value being part of the attribute definition
for the class of the object being created.
The consequence of this is that the OI has to either fetch the class
or in some other way "hardcode" the default values redundantly.
This complciates the implementation of the OI.
A much better solution is for the IMMSv to append any attributes
with values set by default.
The OI may then rely on this non-standard feature.
But the OI implementer relying on this should be aware that their
implementation risk not being straight portable to another SAF
implementation.
