Skip to content

[BUG] Critical - Keep crashing in the room with addSectionBlock UIKit #2019

@juzser

Description

@juzser
  • Your Rocket.Chat Experimental app version: 4.6.0.289
  • Your Rocket.Chat server version: 3.0.10
  • Device (or Simulator) you're running with: iOS 13

I'm developing some apps for Rocket.Chat but there is a critical issue with Block UIKit.

The app keeps crashing when you open a room that contains the BlockBuilder there is addSectionBlock (I will tell you more details below). And so on, you will never be able to connect to that room again via the app.

The problem appears when you use block.addSectionBlock but without using any other add... functions on a messageBuilder.
For example if you use: block.addSectionBlock(...).addContextBlock(...) so it's fine.
But if you only use block.addSectionBlock(...) so it's crashed.

So I think this is because of missing a close tags or something related with the renderer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions