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

Improve (locked) document error handling #590

Merged
merged 9 commits into from
Feb 9, 2024
Merged

Conversation

jeffdaley
Copy link
Contributor

@jeffdaley jeffdaley commented Feb 8, 2024

Refactors and tests document error states. Adds functionality to lock a document if the server returns a 423 on a task.

@@ -169,7 +174,6 @@ module("Acceptance | authenticated/document", function (hooks) {
this.server.create("document", {
objectID: 1,
title: "Test Document",
status: "WIP",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The deleted attributes are factory defaults

@jeffdaley jeffdaley changed the title Jeffdaley/locked doc error Improve document error handling Feb 8, 2024
@jeffdaley jeffdaley marked this pull request as ready for review February 8, 2024 22:18
@jeffdaley jeffdaley requested a review from a team as a code owner February 8, 2024 22:18
@jeffdaley jeffdaley changed the title Improve document error handling Improve (locked) document error handling Feb 8, 2024
@jeffdaley jeffdaley merged commit 3b3403c into main Feb 9, 2024
2 checks passed
@jeffdaley jeffdaley deleted the jeffdaley/locked-doc-error branch February 9, 2024 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants