- **status**: assigned --> accepted


---

** [tickets:#1083] imm: ccbCreate - default values for PRTA's do not reach PBE 
or special applier**

**Status:** accepted
**Milestone:** 4.3.3
**Created:** Mon Sep 15, 2014 01:29 PM UTC by Zoran Milinkovic
**Last Updated:** Tue Sep 16, 2014 07:48 AM UTC
**Owner:** Anders Bjornerstedt

Runtime attributes (persistent or not) that are

  - part of a config object.
  - have a default value.
  - have not been explicitly assigned a value

Will not get the default value written to PBE or included in special applier
callback.

The problem is in the calculation in IF statement, which is always true if 
attr->flags contains SA_IMM_ATTR_RUNTIME flag.

                    if((attr->mFlags & SA_IMM_ATTR_RUNTIME) && 
                      ~(attr->mFlags & SA_IMM_ATTR_PERSISTENT) &&
                      ~(attr->mFlags & SA_IMM_ATTR_NOTIFY)) {

Sign "~" should be replaced with "!".


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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 excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to