FlyerTalk Forums - View Single Post - OpenFlights.org mapping tool now open
View Single Post
Old Jun 5, 2009, 11:58 pm
  #117  
jpatokal
 
Join Date: Sep 2003
Location: Terra Australis Cognita
Posts: 5,350
Originally Posted by ralfp
There's a bug that seems to allow me to edit the current new fights (what people not logged in see at openflights.org). I'll PM the details to jpatokal.
Yes, this is a known bug, although it wasn't entered into Sourceforge (it is now). However, it's not as bad as it looks: the flights listed are not the actual new flights, but copies of new flights, and the original flights are not affected.

Technical explanation: your session is maintained on the backend server, and when it times out, your user ID gets set back to 1 (the "demo" ID, shown when not logged in, and generated once a day from recently entered flights). So when you click on "List flights", it translates to "list all flights for UID 1", and you get the demo flights to edit...

This can also happen for some other panes (Analyze, Top 10, etc). I'll try to work out a solution, so the server can differentiate between genuine demo users and users who are "supposed to be" logged in but have actually timed out.
jpatokal is offline