taurus-org / taurus

Moved to https://gitlab.com/taurus-org/taurus
http://taurus-scada.org
43 stars 46 forks source link

Make sure the tooltip can be generated despite DevFail #1087

Closed vallsv closed 4 years ago

vallsv commented 4 years ago

Here is a patch to allow to display tooltip for DevFail attributes.

Screenshot from 2020-03-02 17-55-58

Without catching this exception, the TaurusLabel devices can't start. As result.

This patch is not really nice cause the patched method have to return str (i am afraid about returning something else), then the formatting have to be done inside getDisplayDescrObj

This could be improved by:

Closes #1086

vallsv commented 4 years ago

Here is an update.

cpascual commented 4 years ago

thanks a lot for the contribution @vallsv . Merged.