RafiKueng / SpaghettiLens

Webbased Gravitational Lens Modelling Tool (client and server side)
4 stars 1 forks source link

Unable to save model - id is undefined. #60

Open Capella05 opened 9 years ago

Capella05 commented 9 years ago

Hey Rafi, I hope you don't think I am picking on you :-)

image

I inadvertently hit on the back button on the browser, then forward button to get back where I was, and submitted the model.

This was the result. Perhaps Improved cacheing or error handling?

It resulted in a 404 error (obviously!)

RafiKueng commented 9 years ago

@Capella05: can you elaborate? so you were on the dialog with the proper url (with the id). then went back and forward again, and then this happened?

I'm very happy for all this bug reports, esp with the screenshots attached! Please keep them coming in :)

As with many webapps, the forward and back buttons of the browser mess all the things quite heavily up. It can be fixed (nowadays webapps usually do this) but that's quite some work (you have to override the browsers back and forward buttons and be always aware, whats the proper action to execute) (it it's not a simple bug) It can be done, but is a lot of work. So I tend to tag this one as "fix it later maybe" and simply advise not to use the back / forward buttons..