Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

TaurusJDrawSynopticsView problem. Jdraw drawings cannot handle DS stopped status. #271

Open
@sf-migrator-bot

Description

@sf-migrator-bot

Hello!

As mentioned here:
http://www.tango-controls.org/community/forum/c/development/java/jdraw-drawings-cannot-handle-ds-stopped-status/

I had an opportunity to use JDraw drawings in TaurusJDrawSynopticsView widgets in my GUI application, but came across a very critical bug(?).

Let me explain the situation: there are some JDRectangles placed in the test.jdw file, they reflects the real states of some valves, which periodically changes its states(open/close; single valve has it's own DS instance in database). I've placed this drawing inside the TaurusJDrawSynopticsView widget in the UI application, let's call it valveStateUI. If for some reasons, an operator stops valves Device Server instances in Astor(or they simply crash), I can't see this on the valveStateUI, the view just freezes with normal values(I mean open/close, not UNKNOWN or FAULT). If I open Jive, I indeed see that DS's are not responding, but the valveStateUI still shows that Valves are open or closed. The critical thing in this, is when valves physically changes their state(while its DS is not working) and someone looking at the valveStateUI still, erroneously thinks that it represents the real states it might be really dangerous.

Reported by: jagodasokol ( http://sf.net/u/jagodasokol )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions