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

[GlobalStep] iOS – The Block Editor allows an empty post #1915

Closed
wptester9845 opened this issue Feb 14, 2020 · 3 comments
Closed

[GlobalStep] iOS – The Block Editor allows an empty post #1915

wptester9845 opened this issue Feb 14, 2020 · 3 comments
Assignees
Milestone

Comments

@wptester9845
Copy link

Description

While on Android, attempting to publish an empty post causes an error message to appear stating “Can’t publish an empty post”, on iOS attempting to publish an empty post causes the Block Editor to be dismissed and the error message stating “Post failed to upload” is displayed along a retry button.
However, if the user selects the “Start writing...” block before pressing the publish button then an empty post will successfully be published.

Reproduction Rate

4/4 100%

Expected behavior

An error message stating “Can’t publish an empty post” should be displayed.

Actual behavior

An empty post is successfully published.

Steps to reproduce the behavior

  1. Install WordPress 14.2
  2. Log in to an account.
  3. Press the “Add new” button.
  4. Select the “Start writing...” block.
  5. Press the Publish button.
  6. Confirm the Publish.
Tested on the following

iPhone SE (12.0.1)

Please see the attached video for more information

iOSEmptyPost.zip

Submitted by:

Luis Pimenta

@mchowning
Copy link
Contributor

Is this resolved by #2393 @SergioEstevao ?

@guarani
Copy link
Contributor

guarani commented Jul 20, 2020

I did a quick test on the 15.3 WP beta for iOS and I can't reproduce this issue anymore (cc @SergioEstevao).

@SergioEstevao
Copy link
Contributor

SergioEstevao commented Jul 20, 2020

Yes, this was resolved in two parts, first, there was an initial PR in WP-iOS that checked always if the post was empty or not before publishing, and now with #2393 the Publish button will be disabled until we have a non-empty post.

@SergioEstevao SergioEstevao added this to the 1.33 milestone Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants