With the latest code, the issue is not recreatable.
Test results: ( output of "ntfsubscribe -v" command below )
=== Aug 29 14:20:29 - Attribute Change ===
notificationID = 13
subscriptionId = 1
eventType = SA_NTF_ATTRIBUTE_CHANGED
notificationObject.length = 37
notificationObject = "attrName_testSA_registerSA_Node_37_69"
notifyingObject.length = 14
notifyingObject = "safApp=OpenSaf"
notificationClassId = 32993.8.0 (0x0)
eventTime = 1503996629230537000 (Tue Aug 29 14:20:29 IST 2017)
lengthAdditionalText = 0
sourceIndicator = SA_NTF_MANAGEMENT_OPERATION
---
** [tickets:#466] Length of the objectnames is more by one for configuration
object notifications**
**Status:** assigned
**Milestone:** future
**Created:** Thu Jun 20, 2013 09:08 AM UTC by Sirisha Alla
**Last Updated:** Mon Aug 28, 2017 09:00 AM UTC
**Owner:** Srinivas Siva Mangipudy
When ntfimcnd sends notifications for configuration object
creation/modification/deletion, the length of the notifying object and the
notification object is been shown wrongly. IMM callback gives the length of the
notification object correctly.
Notification object length in the imm callback:
objectName->length: 37
objectName->value: 'attrName_testSA_registerSA_Node_37_69'
Object create/modify/delete notifications indicate the length of notification
object is 38 and the length of notifying object is 15 for "safApp=OpenSaf".
This issue is reproducible.
---
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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets