Gutenberg: Previews: "Save Draft" does not save title changes if more than one title change is made and previewed in the same session

Created on 12 Jul 2018  路  11Comments  路  Source: WordPress/gutenberg

Describe the bug
After Save Draft I can't change the title anymore. No changes were apply.

To Reproduce
Steps to reproduce the behavior:

Add new post
Add Title
Save Draft
Preview
Back to Gutenberg and change title
Save Draft again
Preview

  • nothing change
    Back to Gutenberg and Save again
    Preview
  • nothing change
    Back to Gutenberg and try to Save it again
  • it ignore the changes!
    Preview
  • nothing change

Screenshots
https://youtu.be/vUY1FgtZ-v0

Desktop (please complete the following information):
Chrome

Smartphone (please complete the following information):
MAC High Sierra

Additional context
PHP 7.0
WordPress 4.9.7
No other plugins install, No Cache.

[Feature] Saving [Status] In Progress [Type] Bug

All 11 comments

I tested and this doesn't happen every time for me! I was able to reproduce the problem only for a brand new post and only if autosave isn't triggered.

Video: 1m38s
Tested and confirmed with WordPress 4.9.7 and Gutenberg 3.2.0 using Firefox 61.0.1 on macOS 10.13.5.

title-not-saved

I'm adding the Needs Testing label to this one to get help confirming the following:

  • title updates work on previously saved and reopened drafts
  • title updates always work if autosave triggers instead of clicking "Save Draft"
  • can you think of any other oddities?

@Emilybkk does this problem happen for you with previously saved posts/drafts or brand new drafts only?

Note: I updated the title to reflect what I found in testing but may need to adjust again if I've made it too specific. 馃槉

@designsimply It happen for me with the previously saved drafts post. I have create post sometime ago and then for the final I try to change the title that is when I find out.

And in my video it is brand new drafts.

馃 it works every time for me on previously saved drafts, I only see the problem for brand new drafts. ~Let's try to get another tester for that if we can.~

@Emilybkk may I confirm one more thing with you? Does the problem only happen if you click "Save Draft" _before_ an autosave happens?

@designsimply Yes confirm It happen when click "Save Draft" _before_ an autosave.

Closed #8898 as a duplicate after re-testing and updated the title here to hopefully be a bit more accurate and helpful. (3min)

This bug is already fixed in master.

I got this issue so many time one WordPress 5.0.3 but I don't know how to fix it. I hit the publish button then I check out the post the title got empty and the social media network got a lot of troubles when I using automation tools for sharing a new post after publishing. The social media network will look ugly with no title.
WOW. I'm not happy about this issue. Is it a plugin confliction?

@couponrim what you have described sounds a bit different compared to the issue originally described above. If you can verify without any plugins active that adding a title to a draft post doesn't work properly then the proper place to report that would be to make a new issue here and include steps to reproduce the problem and mention that you are testing with WordPress 5.0.3. If you find that the problem only happens with a certain plugin, then the correct place to report the issue will be to the plugin author. If you are not sure or if you need help troubleshooting, please post steps to reproduce the problem for your case and mention that you are testing using WordPress 5.0.3 at https://wordpress.org/support/forum/how-to-and-troubleshooting/

@designsimply Thanks for your reminder. I just searching for some helps. I can not login to my WordPress dot org account, so that why I can not submit my issues there. When I log in at the login screen, it says my account has been disabled. I don't login with wrong password but not sure what happened. My WordPress org account opened in 2015 and I just using it recently.


Anyway, thank you so much for your helps. I will hire some freelancers fixing my issues.
Have a nice day.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jasmussen picture jasmussen  路  3Comments

davidsword picture davidsword  路  3Comments

moorscode picture moorscode  路  3Comments

BE-Webdesign picture BE-Webdesign  路  3Comments

wpalchemist picture wpalchemist  路  3Comments