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

Schedule post to future date and then change to past date doesn't publish inmediately #10930

Closed
paaljoachim opened this issue Oct 23, 2018 · 3 comments
Assignees
Labels
[Feature] Document Settings Document settings experience [Feature] Saving Related to saving functionality [Type] Bug An existing feature does not function as intended [Type] Regression Related to a regression in the latest release
Milestone

Comments

@paaljoachim
Copy link
Contributor

paaljoachim commented Oct 23, 2018

peek 2018-10-24 13-25

To Reproduce
Steps to reproduce the behavior:

  1. With Date picker change to a future date and schedule post.
  2. With Date picker select yesterdays date or earlier and publish post.
  3. Notice the message says "post title" is now scheduled. It will go live on Oct 22, 2018 7:47 am.

Expected behavior
Setting a date of today or earlier the post will be published right away, and not become scheduled.

Desktop (please complete the following information):

  • Live test site
  • Chrome
  • Version 69.0.3497.100 (Official Build) (64-bit)

Additional context

  • Gutenberg 4.1 - RC2.

In relation to this PR: #7621 (comment)

@mtias mtias added [Feature] Document Settings Document settings experience Needs Testing Needs further testing to be confirmed. labels Oct 23, 2018
@oandregal oandregal added [Feature] Saving Related to saving functionality [Type] Bug An existing feature does not function as intended [Type] Regression Related to a regression in the latest release and removed Needs Testing Needs further testing to be confirmed. labels Oct 24, 2018
@oandregal oandregal added this to the 4.2 milestone Oct 24, 2018
@oandregal oandregal changed the title Date picker: Switch to future date and then change to past date -bug- Schedule post to future date and then change to past date doesn't publish inmediately Oct 24, 2018
@oandregal
Copy link
Member

@paaljoachim thanks for the bug report. I've modified a bit the issue description to better reflect how to test it and added a GIF.

@oandregal oandregal self-assigned this Oct 24, 2018
@oandregal
Copy link
Member

Note that this only happens when the pre-publish checks are enabled.

@oandregal
Copy link
Member

#11013 fixes this issue and is ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Document Settings Document settings experience [Feature] Saving Related to saving functionality [Type] Bug An existing feature does not function as intended [Type] Regression Related to a regression in the latest release
Projects
None yet
Development

No branches or pull requests

3 participants