Menu

#816 DevShort attribute change event has wrong data_type

closed-fixed
nobody
None
C++ API
5
2017-01-09
2016-09-12
No

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).

Discussion

  • Bourtembourg Reynald

    Thanks for the bug report.

    Bug fixed in r30155.

     
  • Bourtembourg Reynald

    • status: open --> closed-fixed
     
  • Bourtembourg Reynald

    Fixed in Tango 9.2.5

     

Log in to post a comment.

MongoDB Logo MongoDB