OrchardCore icon indicating copy to clipboard operation
OrchardCore copied to clipboard

In Auto setup, when IsUninitialized, response http status code 409

Open infofromca opened this issue 1 year ago • 2 comments

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:

  1. Go to 'AutoSetup' when IsUninitialized
  2. See error
  3. 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.

infofromca avatar Oct 04 '24 15:10 infofromca

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.

github-actions[bot] avatar Oct 10 '24 17:10 github-actions[bot]

The correct status code would be 503.

gvkries avatar Oct 10 '24 17:10 gvkries