-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
Backwards CompatibilityIssues or PRs that impact backwards compatabilityIssues or PRs that impact backwards compatabilityREST API InteractionRelated to REST APIRelated to REST API[Feature] SavingRelated to saving functionalityRelated to saving functionality[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Milestone
Description
Issue Overview
When adding a new post I got an unexpected "Updating failed" message.
The console log showed 400 bad request.
The response being
{"code":"empty_content","message":"Content, title, and excerpt are empty.","data":{"status":400}}
Steps to Reproduce (for bugs)
- Add a new post.
- Insert a Classic block
- Wait a while
Expected Behavior
Either no attempt to save the post or allow the empty content to be saved.
Current Behavior
Autosave kicks in. Since none of the following have been entered... Title, Content and Excerpt
we get the 400 Bad request. which leads to the display of the unexpected "Updating failed" message.
Possible Solution
Screenshots / Video
Related Issues and/or PRs
Todos
- Tests
- Documentation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Backwards CompatibilityIssues or PRs that impact backwards compatabilityIssues or PRs that impact backwards compatabilityREST API InteractionRelated to REST APIRelated to REST API[Feature] SavingRelated to saving functionalityRelated to saving functionality[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended