[bugs:#816] DevShort attribute change event has wrong data_type
Status: open
Created: Mon Sep 12, 2016 12:07 PM UTC by Claudio Scafuri
Last Updated: Mon Sep 12, 2016 12:07 PM UTC
Owner: nobody
If a tango-9 client subscribes for change_event of a DevShort attribute on a tango-8 server, the event_type returned by attr_value->get_type() is DATA_TYPE_UNKNOWN (100).
All other 8 vs 9 combinations report the correct value DEV_SHORT (2).
Tested on ubuntu linux 10.04 and 14.04, 32 and 64 bits, all combinations.
The problem becomes evident when using automatic tools for extracting and formatting the attibute value pushed by the event system, which detects dynamically the type of the received attribute.
Notice that the first event , triggered by subscribe_event call or by automatic resusbscription triggered by the heartbeat system, always has the correct data type (2).
Sent from sourceforge.net because Tango-cs...@lists.sf.net is subscribed to https://sourceforge.net/p/tango-cs/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/tango-cs/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Thanks for the bug report.
Bug fixed in r30155.