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

Warning notification for missing document in database #890

Closed
garrensmith opened this issue Mar 28, 2017 · 0 comments · Fixed by #893
Closed

Warning notification for missing document in database #890

garrensmith opened this issue Mar 28, 2017 · 0 comments · Fixed by #893
Assignees

Comments

@garrensmith
Copy link
Member

A document that does not exist in a database that does exist:
We display an error message, and then do a redirect to the _all_docs of the existing database.

A document that does not exist in a database that does not exist:
We display an error message that the database does not exist, there is a redirect to the non-existent database's _all_docs page, where the secondary nav and doc-jump component fail to load, but the document list can be populated with documents from previously loaded databases.

If a user attempts to access anything in a document (including design documents) that doesn't exist:
Redirect to the _all_docs view for the database, and throw and error of "The <doc_name> document does not exist."

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

Successfully merging a pull request may close this issue.

1 participant