Gallery block: Crash when adding images and selecting a gallery item #38217
Labels
[Block] Gallery
Affects the Gallery Block - used to display groups of images
Mobile App - i.e. Android or iOS
Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
[Type] Bug
An existing feature does not function as intended
Description
Sentry ticket: https://sentry.io/share/issue/e9deb70195184b10bf08a31afb2bce7b/
Adding images to the Gallery block and selecting an item of the gallery, produces the following error and crashes the app:
NOTE: I spotted this issue while testing the beta version of WordPress-iOS 19.1 (19.1.0.0).
Step-by-step reproduction instructions
NOTE: I experienced that if the editor is re-opened after getting this error, the images might have been added. However, in this case, the issue can be also reproduced by selecting any of the gallery items.
Expected behaviour
Either adding images or selecting gallery items of the Gallery block shouldn't display errors or make the app crash.
Actual behaviour
Either adding images or selecting gallery items of the Gallery block display an error and make the app crash.
Screenshots or screen recording (optional)
WordPress information
Device information
19.1
(WordPress-iOS19.1.0.0
) anddevelop
branch.The text was updated successfully, but these errors were encountered: