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

[bug]-> [JSON] request for the route "/project/:handle" for a project that does not exist is returning an HTML page #224

Open
NelsonPereira1991 opened this issue May 5, 2017 · 0 comments
Assignees
Labels

Comments

@NelsonPereira1991
Copy link
Collaborator

Dendro Version if known (or site URL)

master

Please describe the expected behaviour

Should return the response 404

Please describe the actual behaviour

Is returning an html page saying that the project does not exist

What steps can be taken to reproduce the issue?

run the following tests in the newTestsWorkNelson branch:
require(Config.absPathInTestsFolder("/routes/project/public_project/routes.project.publicProject.Test"));
require(Config.absPathInTestsFolder("/routes/project/private_project/routes.project.privateProject.Test"));
require(Config.absPathInTestsFolder("/routes/project/metadata_only_project/routes.project.metadataonlyProject.Test"));

OR

Simply execute a [JSON] request to the route /project/:handle with the handle of a non-existant project

Possible ways to fix the problem (programmers)

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

No branches or pull requests

2 participants