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

Fixed "Editor crashed" error showing for a valid 404 #21057

Conversation

kevinansfield
Copy link
Contributor

ref https://linear.app/tryghost/issue/ONC-323

  • sometimes posts can be deleted by another user or in a different tab but then edited in an old tab that had the post loaded in the editor
  • in this situation we were displaying our "Editor crashed" error put in place for the rarer situation where the editor is genuinely in a bad state
  • added an extra conditional for the bad state and a custom error message for the deleted post state

@kevinansfield kevinansfield enabled auto-merge (rebase) September 20, 2024 08:29
ref https://linear.app/tryghost/issue/ONC-323

- sometimes posts can be deleted by another user or in a different tab but then edited in an old tab that had the post loaded in the editor
- in this situation we were displaying our "Editor crashed" error put in place for the  rarer situation where the editor is genuinely in a bad state
- added an extra conditional for the bad state and a custom error message for the deleted post state
@kevinansfield kevinansfield force-pushed the no-crashed-error-on-genuine-deletion branch from 6c0ef15 to 8579d22 Compare September 20, 2024 08:34
@kevinansfield kevinansfield merged commit c41c44b into TryGhost:main Sep 20, 2024
18 checks passed
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.

1 participant