Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statics gets messed up #110

Closed
Tupsi opened this issue Mar 14, 2016 · 7 comments
Closed

Statics gets messed up #110

Tupsi opened this issue Mar 14, 2016 · 7 comments

Comments

@Tupsi
Copy link
Contributor

Tupsi commented Mar 14, 2016

Sometimes pathfinders seems to make an error in looking up the correct static. For instance you have a C5 static C5, so it should display H296. If you now add a wh sig to the system table you can only select a M267 - C3 as static, although the system info window clearly states that this system has a H296 as static.
At some point in time it fixes itself though, but I can not give you exact "whens" and "whys".
(trying to upload a screenshot but git doesnt like me tonight it seems).
Uploading StaticMixup.jpg…

@Tupsi
Copy link
Contributor Author

Tupsi commented Mar 14, 2016

staticmixup

@Tupsi
Copy link
Contributor Author

Tupsi commented Mar 14, 2016

ohh, that worked at least.

@Tupsi
Copy link
Contributor Author

Tupsi commented Mar 14, 2016

ok, forcing a few reloads with the browser, at some point the dropdown now shows the H296 as it should be and you can select and save it.
This is not a one time thing, it happens here regularly, so something odd still must be in there. :-)

@Tupsi
Copy link
Contributor Author

Tupsi commented Mar 18, 2016

a bit more testing reveals the following:

setup:
a) C5 wh system with a static C5
b) C5 connected to a) and having a C3 static itself

set static sigs for both systems. You will see that you can only either have a Static C3 in the dropdown in both systems OR a Static C5 options. Whatever it is you save, the moment you hit refresh it changes to the correct value for the system you have currently selected, BUT if you select the other system, you will see that the static there has changed now to the value of the other system.
From the looks of it, it seems that the application leaves only room for one static value per system type (both here are C5 but with different static types), because if I add another system to that chain (which would have to be a C3 in the example) and that system has a static low for instance, this one seems fixed correctly.

@Tupsi
Copy link
Contributor Author

Tupsi commented Mar 19, 2016

still more testing it seems to be "only" a browser cache thing. If you switch from a) to b) or vice versa the static always wrong until you hit a hard F5 refresh in the browser. Then the current system you have selected shows the correct static, but selecting the other system now (without F5 refreshing) shows you the wrong one. Hitting F5 gives you the right and so on.

Tested with current versions of Firefox, Chrome and Edge. All the same. So it seems, something is just cached bad at the client end and the db entries itself or correct.

@exodus4d
Copy link
Owner

Thanks for reporting!

This bug is already fixed (#119) and will be shipped with the next release (coming soon!).
It was in fact a client cache problem.

@exodus4d exodus4d added this to the v 1.0.0RC3 milestone Apr 10, 2016
@exodus4d exodus4d mentioned this issue Jun 3, 2016
@exodus4d
Copy link
Owner

exodus4d commented Jun 3, 2016

Issue resolved in master branch

@exodus4d exodus4d closed this as completed Jun 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants