Local Notification Fires for Missed Schedule on a Scheduled Post
This issue is closely related to #14732.
Expected behavior
When a user is scheduling a post to be published in the future, through Publish Date and SCHEDULE NOW bottom sheet action button, and turns on the Notification to When published, on that specified date and time, when the scheduled post misses its schedule, the notification doesn't fire.
Actual behavior
When a user is scheduling a post to be published in the future, through Publish Date and SCHEDULE NOW bottom sheet action button, and turns on the Notification to When published, on that specified date and time, when the scheduled post misses its schedule, the notification fires.
Steps to reproduce the behavior
- Open the app, while on the main
My Sitetab, find theBlog Postsitem under thePublishsection and click on it. - Add a new
Blog postusing theFABbutton, add a title and some content, then click thePUBLISHtoolbar button. - A bottom sheet will open and the action button will be set to
PUBLISH NOWwith aPublish Dateset toImmediately. - Find the
Publish Dateand change theDate and Timeto a future time, like 15' mins ahead. - Within the
Publish Date, turn on theNotificationtoWhen published. Now go back. - The action button should be set to
SCHEDULE NOWwith aPublish Dateset to some likeSchedule for: May 27, 2021, 12:00 PM. Now clickSCHEDULE NOW. - Check the
SCHEDULEDtab and verify that your newly scheduled post is available within that list. - Check the web and verify that your newly scheduled post is also available within the
Postslist. Its status should beScheduled, presented on theDatecolumn. - Wait until that specified date and time is reached and check on the scheduled post status.
- It will either be
Scheduledif everything works as expected, orMissed scheduleotherwise. - In case of
Missed scheduleverify that the local notification got fired anyway.
Tested on [device], Android [version], WPAndroid [version]
Tested on [Pixel 4], Android [12], WPAndroid [17.4-rc-3]
This is not a bug per se, but rather a functionality that might be easily misinterpreted.
As a user I would expect the local notification to be able to read the publishing status and only fire if that is indeed published, or at least not missed. However, since this notification will be fired anyway, in case there is a scheduling miss, this might confuse the user, thinking that everything worked as expected, but without this being the case after all.
One suggestion would be to change the wording from When published to something like When it's supposed to get published. 🤔
This was reported in #5325865-zen. The user also said this:
[...] if we have followers, doesn't the post need to publish for the followers to know that there is a new blog post?
Just so I'm not misunderstanding, however, the local When published notification is completely separate from any notifications blog followers might get. Is that right?