Skip to content

Story block - Crash after discarding a media item selected from the device media library (only iOS) #3244

@fluiddot

Description

@fluiddot

Describe the bug

After discarding a media item selected from the device media library, trying to add a media item from the device on any block produces the crash.

I managed to reproduce this issue on TestFlight builds of versions 16.8 and 16.9, on those versions the app doesn't crash but the flow for adding media items in any block stops working.

Sentry issue: https://sentry.io/organizations/a8c/issues/2250393647/events/389dedd8d5484c5c83b6591500862436/?project=1438083&statsPeriod=14d

To Reproduce
Steps to reproduce the behavior:

  1. Add a Story block.
  2. Tap on ADD MEDIA.
  3. Tap on the little square button located at the bottom left.
  4. Select any item.
  5. Tap on Add button.
  6. Tap on X button to discard changes.
  7. Tap on Discard button.
  8. Add an Image block.
  9. Tap on ADD IMAGE.
  10. Tap on Choose from device.
  11. Select any item.
  12. Observe that the app crashes.

Expected behavior
Discarding a media item selected from the device media library shouldn't derive in a crash.

Screenshots

story-block-discard-media-crash-ios.MP4

Smartphone (please complete the following information):

  • Device: iPhone 11
  • OS: iOS 14.2
  • Version 16.9

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions