Skip to content

Missing block: Displays undefined block name for some unsupported blocks #31545

Closed

Description

@fluiddot

Description

The missing block is not showing the proper name of all unsupported blocks.

I checked the recently merged commits and looks like this bug was introduced in this PR.

NOTE: This issue happens on both platforms (iOS + Android).

Step-by-step reproduction instructions

  1. Add some unsupported blocks
  2. Add a Table block, which is also unsupported (use the example below)
<!-- wp:table -->
<figure class="wp-block-table"><table><tbody><tr><td>1</td><td>2</td></tr><tr><td>3</td><td>4</td></tr></tbody></table></figure>
<!-- /wp:table -->
  1. Open the post/page in the mobile app
  2. Observe that for the table block is not displaying the block's name

Expected behaviour

The missing block should display the block's name of the unsupported block.

Actual behaviour

The missing block is not displaying the block's name of all unsupported blocks.

Screenshots or screen recording (optional)

Table block Bottom-sheet displayed after tapping

WordPress information

  • WordPress version: N/A
  • Gutenberg version: N/A
  • Are all plugins except Gutenberg deactivated? N/A
  • Are you using a default theme (e.g. Twenty Twenty-One)? N/A

Device information

  • Device: iPhone 8 (simulator)
  • Operating system: iOS 14.2
  • WordPress app version: develop

Activity

  1. added
    [Type] Bug
    Mobile App - i.e. Android or iOS
    on May 6, 2021
  2. hypest commented on May 6, 2021

    @hypest
    Contributor

    👋 @fluiddot , just to be sure, have you perhaps tried on Android too? I see iOS mentioned in the device info but not sure if it's iOS only. Thanks!

  3. mchowning commented on May 6, 2021

    @mchowning
    Contributor

    I tested iOS 17.3.0.20210503 beta, and it doesn't show this issue, so I think this isn't a problem we need to address for the current release. I also wasn't able to reproduce the issue on Android's 17.2 release, so it seems like this may be a very recent issue.

  4. fluiddot commented on May 6, 2021

    @fluiddot
    ContributorAuthor

    👋 @fluiddot , just to be sure, have you perhaps tried on Android too? I see iOS mentioned in the device info but not sure if it's iOS only. Thanks!

    Yeah, this happens on Android too.

    I tested iOS 17.3.0.20210503 beta, and it doesn't show this issue, so I think this isn't a problem we need to address for the current release. I also wasn't able to reproduce the issue on Android's 17.2 release, so it seems like this may be a very recent issue.

    Right, the PR that introduced it was merged after the 1.52.0 code freeze so fortunately this won't be released to users, but we should fix it for the next version 1.53.0.

  5. self-assigned this
    on May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Mobile App - i.e. Android or iOS[Type] Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions