Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
blaze server fall into inconsistency when handling adding some invalid file resource #1498
When trying to add dataset to blaze server (via /add route), if the underlying file resource is given incorrectly, in some cases, the blaze server will return 422 error, but from now on fall into bad internal state (subsequent /datashape call returns 500 error).
Those cases are:
However, an when the invalid absolute path does not end with a valid file ext, such as:
Then the blaze server will simply return 422 error, and still in working state.