gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

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

Open Emilybkk opened this issue 8 years ago • 11 comments

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.

Emilybkk avatar Jul 12 '18 10:07 Emilybkk

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?

designsimply avatar Jul 12 '18 14:07 designsimply

@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 avatar Jul 12 '18 15:07 designsimply

@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.

Emilybkk avatar Jul 12 '18 15:07 Emilybkk

And in my video it is brand new drafts.

Emilybkk avatar Jul 12 '18 15:07 Emilybkk

🤔 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 avatar Jul 12 '18 22:07 designsimply

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

Emilybkk avatar Jul 12 '18 23:07 Emilybkk

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

designsimply avatar Aug 13 '18 18:08 designsimply

This bug is already fixed in master.

jorgefilipecosta avatar Nov 27 '18 19:11 jorgefilipecosta

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 avatar Jan 19 '19 05:01 couponrim

@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 avatar Feb 02 '19 01:02 designsimply

@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.

couponrim avatar Feb 03 '19 15:02 couponrim