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

Fix crash which occurs after deleting image or page break block #1582

Conversation

marecar3
Copy link
Contributor

@marecar3 marecar3 commented Nov 15, 2019

Fixes: wordpress-mobile/WordPress-Android#10491

Gutenberg PR: WordPress/gutenberg#18539
WPAndroid PR: wordpress-mobile/WordPress-Android#10805

To test:
Steps to repro - Case A

  • Create a new post
  • Click on the empty paragraph block
  • Add a Page break block
  • Click on the "bin" on the Page break block
  • Page break block should be deleted as expected

Steps to repro - Case B

  • Create a new post
  • Add a Page break block
  • Click on the "bin" on the Page break block
  • This time the block is removed without a crash_
  • Add a Page break block
  • Click on the "bin" on the Page break block
  • Page break block should be deleted as expected

Update release notes:

  • If there are user facing changes, I have added an item to RELEASE-NOTES.txt.

@marecar3 marecar3 added this to the 1.17 milestone Nov 15, 2019
@marecar3 marecar3 self-assigned this Nov 15, 2019
@marecar3 marecar3 changed the base branch from develop to release/1.17 November 15, 2019 12:53
@marecar3 marecar3 mentioned this pull request Nov 15, 2019
1 task
@marecar3 marecar3 changed the title Hotfix/crash which occurs after deleting image or page break block Fix crash which occurs after deleting image or page break block Nov 15, 2019
@hypest
Copy link
Contributor

hypest commented Nov 15, 2019

Works for me and fixes the block deletion issue!

Copy link
Contributor

@SergioEstevao SergioEstevao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on iOS and Android and all working great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants