Make sure get_device_property only reach requested properties
Closes #2908 (closed)
The beacon implementation get_device_property
was using a broken matching to check names.
As result this was retrieving more properties than expected.
When a property was also a prefix of another property, the result was even more broken.
This MR fixes the _filter
to avoid reaching property names from their prefix (except *
was explicitly used).
Plus, trying to also test such get_device_property(..., "toto*")
, it looks like this is not a valid tango request. At least pytango
is segfaulting in this case. Which make me think using such prefix+wildchar is maybe not a valid API. It would be good check the API specification, and remove prefix+*
if it is not supposed to be supported.