tenders-exposed / elvis-ember

**el.vis** - a tool for visualising public (EU) tenders big data
https://talk.tenders.exposed
GNU Affero General Public License v3.0
8 stars 2 forks source link

Opening saved networks does not work properly #514

Open zufanka opened 4 years ago

zufanka commented 4 years ago

Opening networks from https://defense.tenders.exposed/network/list does not open the networks. It has multiple issues, they differ (see below). The weirdest part is that if I open them in a window where I am not logged in it works.

edit: sometimes it even opens a different network

ctrl+shift+r fixes all

nightsh commented 4 years ago

Network request is fine, so is the response - the drawing fails but I don't thin kit even reaches that point, according to my Network tab in the browser inspector.

Steps to reproduce:

Reloading the page while at the loading screen makes it render just fine.

zufanka commented 4 years ago

after I have manually ctrl+R on one of the networks that were stuck this way, it all of a sudden does work on the rest as well. I don't understand this at all :)

zufanka commented 4 years ago

Could this have to do with the 'refresh token' or something?

georgiana-b commented 4 years ago

This does actually work but only the second time. So if you go to https://defense.tenders.exposed/network/list, the first time you try to open one of the networks it doesn't work but every subsequent time it does. I assume it might have to do with some promise fulfilment on the frontend.

To reproduce:

@ca1yps0 Could you please take a look?