- **status**: review --> fixed
- **Comment**:

changeset:   5820:1f9c742d88af
tag:         tip
parent:      5816:2d9a9b89a37e
user:        Anders Bjornerstedt <[email protected]>
date:        Tue Sep 16 10:18:06 2014 +0200
summary:     imm: ccbCreate - Fix expression for appending default values to 
ccb-create-callback [#1083]

changeset:   5819:5ba2ce6686ff
branch:      opensaf-4.5.x
parent:      5815:a26f26296454
user:        Anders Bjornerstedt <[email protected]>
date:        Tue Sep 16 10:18:06 2014 +0200
summary:     imm: ccbCreate - Fix expression for appending default values to 
ccb-create-callback [#1083]

changeset:   5818:ab467ca21b2b
branch:      opensaf-4.4.x
parent:      5814:904b98fa3101
user:        Anders Bjornerstedt <[email protected]>
date:        Tue Sep 16 10:18:06 2014 +0200
summary:     imm: ccbCreate - Fix expression for appending default values to 
ccb-create-callback [#1083]

changeset:   5817:0ebd64fc24f4
branch:      opensaf-4.3.x
parent:      5813:0a124b589f61
user:        Anders Bjornerstedt <[email protected]>
date:        Tue Sep 16 10:18:06 2014 +0200
summary:     imm: ccbCreate - Fix expression for appending default values to 
ccb-create-callback [#1083]





---

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

**Status:** fixed
**Milestone:** 4.3.3
**Created:** Mon Sep 15, 2014 01:29 PM UTC by Zoran Milinkovic
**Last Updated:** Tue Sep 16, 2014 03:48 PM 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 [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 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to