IntegratedAlarmSystem-Group / ias-display

IAS Display, implemented in Angular
Other
1 stars 1 forks source link

Missing icons when the panels can´t communicate with the web server #84

Open acaproni opened 6 years ago

acaproni commented 6 years ago

I received this email from Erich and filed this ticket:

I noticed a small bug (maybe) in the IAS GUI. I had this weather station (see attachment) in nice colours on my screen, but then when I disconnected from the VPN, it correctly figured out that the alarms are now invalid, but the necessary icons are not available.

screen shot 2018-10-11 at 14 17 09

sfehlandt commented 6 years ago

The description indicates that the application looses connection not only with the webserver but with the whole application. What happens here is that the javascript keeps running but does not receive any Alarm and hence it makes them invalid.

Since the VPN is closed the javascaript has no access to the icons of the invalid Alarms (located in the static files of the ias-display). This is normal behaviour in a web application that looses connection with its static files.

In short, this is not a bug. And hence I am closing it now.

acaproni commented 6 years ago

Is there a way to pre-load the icons? I think we already discussed to show the missing of the conncetion with the web server somewhere in the panels

sfehlandt commented 6 years ago

Maybe, but it is irrelevant. We can add something to indicate there is no connection but this is simply how internet works. We could find a workaround I guess but given the time frame we have I think we should not do it.

acaproni commented 6 years ago

I agree that with will not be able to do it in a short time; however we keep this ticket open as a todo for the future.

I was thinking that the display could simply turn the menu bar in the upper side in red when the connection is lost.

sfehlandt commented 6 years ago

I would open another ticket for that because it is another feature and we would not be fixing the issues with the icons