Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

Illegal POST request being sent on the specify page #29

Open
rkrishnasanka opened this issue Sep 17, 2016 · 2 comments
Open

Illegal POST request being sent on the specify page #29

rkrishnasanka opened this issue Sep 17, 2016 · 2 comments
Labels

Comments

@rkrishnasanka
Copy link
Contributor

There seems to be a jquery 'getFile' api requiest thats using POST instead of GET thats totally throwing the server off.

image

@aonanam
Copy link
Collaborator

aonanam commented Sep 20, 2016

image
I was getting a similar error on the specify page. On the GUI the LFR tab had no name and there was no UCF tab. Upon restarting Neptune, I now have both a LFR and UCF tab, both named specify[type].[extension]; it seems to be fine now.

Could be an issue that only happens on first Specify run?

@aonanam aonanam added the bug label Sep 20, 2016
@rkrishnasanka
Copy link
Contributor Author

Well the problem is 2-Fold,

  1. I've realized that I as I was going through all the codebase on Sunday. Looks like the crash happens the first time the project directory is created.
  2. @kestaskk uses POST requests for some things where he should instead use GET. It doesn't cause any problems with the code but its a bad practice in creating API endpoints.

@kestaskk we need to redo some of the endpoints later on. This bug has more to do with some run away POST request thats probably being called before the directory is being created.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants