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

Autosave has a blank title #7078

Closed
adamsilverstein opened this issue Jun 1, 2018 · 2 comments
Closed

Autosave has a blank title #7078

adamsilverstein opened this issue Jun 1, 2018 · 2 comments
Assignees
Labels
[Type] Bug An existing feature does not function as intended
Milestone

Comments

@adamsilverstein
Copy link
Member

Description

When creating an initial autosave for published posts, a blank title is stored. If the user restores this autosave, the post title will be blank.

Follow up to #6257.

Steps to reproduce:

  1. Create a post and publish it.
  2. Change the content of the post and wait 10 seconds for the autosave to fire.
  3. Check the autosave REST request - note that the title is missing in the request. Check the database and note the autosave title is blank in the database.
  4. The title will continue to not be sent & stored as blank/empty until it is modified.

Expected Behavior:

The title should be sent with each autosave request, regardless of if it has been modified.

Screenshots:

Autosave lacking title:

Database after blank save:

Tested on

  • OS: Mac
  • Browser Chrome & Firefox
  • Version: latest

cc: @aduth @danielbachhuber

@aduth
Copy link
Member

aduth commented Jun 1, 2018

Related Slack conversation: https://wordpress.slack.com/archives/C02QB2JS7/p1527860463000600

@aduth aduth added the [Type] Bug An existing feature does not function as intended label Jun 1, 2018
@danielbachhuber danielbachhuber added this to the 3.0 milestone Jun 1, 2018
@adamsilverstein
Copy link
Member Author

This should be fixed by #7092.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants