Skip to content

Creating video Cover block in mobile app results in block validation error #28972

Open

Description

Description

Creating a video Cover block within the WordPress mobile app results in block validation errors when re-editing the post.

Step-by-step reproduction instructions

  1. Download (or generate) build for the latest WordPress Android.
  2. In the Android app, create a post for a Simple WordPress.com site.
  3. Add a Cover block.
  4. Select a video for the Cover block background.
  5. Publish the post.
  6. Exit the post editor.
  7. Edit the same post in the mobile app OR edit the same post in the web editor.

Expected behaviour

No errors are displayed in the mobile app. No errors are displayed in the web console.

Actual behaviour

A React Native error is displayed regarding block validation. Opening the same post in the web editor displays a block validation error in the console.

Screenshots or screen recording (optional)

Error Screenshots

Web

video-cover-block-validation-error-web

Android

video-cover-block-validation-error-android

WordPress information

  • WordPress version: WordPress.com
  • Gutenberg version: 9.8.4
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? No

Device information

  • Device: Samsung S20 5G FE
  • Operating system: Android 11
  • WordPress app version: 86fe5183b1cf12d9854f17de722d1978b443ddc9 of WordPress Android.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Mobile App - i.e. Android or iOSNative mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)[Priority] LowUsed to indicate that the issue at hand isn't a top priority to address and can be handled later[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions