In Auto setup, when IsUninitialized, response http status code 409
Describe the bug
In Auto setup, when IsUninitialized, response http status code 409 to let user know the error clearly.
Orchard Core version
2.0 Add the version of the Orchard Core NuGet packages you use, or the commit hash if you can reproduce this with the source code.
To Reproduce
Steps to reproduce the behavior:
- Go to 'AutoSetup' when IsUninitialized
- See error
- httpContext.Response.Redirect(pathBase); will make the users to think the site got success.
Expected behavior
A clear and concise description of what you expected to happen. return status code 409
Logs and screenshots
If applicable, add log files, browser console logs, and screenshots (or screen recording videos) to help explain your problem.
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues).
This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here.
The correct status code would be 503.