osaf/services/saf/smfsv/smfd/smfd_campaign_oi.cc |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/osaf/services/saf/smfsv/smfd/smfd_campaign_oi.cc 
b/osaf/services/saf/smfsv/smfd/smfd_campaign_oi.cc
--- a/osaf/services/saf/smfsv/smfd/smfd_campaign_oi.cc
+++ b/osaf/services/saf/smfsv/smfd/smfd_campaign_oi.cc
@@ -466,6 +466,8 @@ static SaAisErrorT saImmOiCcbCompletedCa
                                                         } else if (mod == 
SA_IMM_ATTR_VALUES_REPLACE) {
                                                                 
LOG_NO("SA_IMM_ATTR_VALUES_REPLACE attribute->attrValuesNumber %d",
                                                                        
attribute->attrValuesNumber);
+                                                                if 
(attribute->attrValuesNumber == 0) //In case attr is set to <empty>
+                                                                        goto 
done;
                                                                 if 
(attribute->attrValuesNumber > 2) {
                                                                         
LOG_NO("Max number of values for attribute [%s] is 2 (try to set %u)",
                                                                                
attribute->attrName,

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to