Runtime attributes (persistent or not) that are
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 "!".
I dont think they are trimmed from the PBE.
Thewy are trimmed from the special-applier.
/AnersBj
From: Zoran Milinkovic [mailto:zmilinkovic@users.sf.net]
Sent: den 15 september 2014 15:30
To: opensaf-tickets@lists.sourceforge.net
Subject: [tickets] [opensaf:tickets] #1083 imm: runtime attributes are trimmed away for PBE
[tickets:#1083]http://sourceforge.net/p/opensaf/tickets/1083 imm: runtime attributes are trimmed away for PBE
Status: unassigned
Milestone: 4.3.3
Created: Mon Sep 15, 2014 01:29 PM UTC by Zoran Milinkovic
Last Updated: Mon Sep 15, 2014 01:29 PM UTC
Owner: nobody
Runtime attributes are trimmed away for PBE.
The problem is in the calculation in IF statement, which is always true if attr->flags contains SA_IMM_ATTR_RUNTIME flag.
Sign "~" should be replaced with "!".
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is subscribed to https://sourceforge.net/p/opensaf/tickets/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.
Related
Tickets:
#1083Tickets: tickets
Diff:
changeset: 5820:1f9c742d88af
tag: tip
parent: 5816:2d9a9b89a37e
user: Anders Bjornerstedt anders.bjornerstedt@ericsson.com
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 anders.bjornerstedt@ericsson.com
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 anders.bjornerstedt@ericsson.com
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 anders.bjornerstedt@ericsson.com
date: Tue Sep 16 10:18:06 2014 +0200
summary: imm: ccbCreate - Fix expression for appending default values to ccb-create-callback [#1083]
Related
Tickets:
#1083