Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add room disallowing encryption crashes the app #6231

Closed
martias opened this issue Jun 1, 2022 · 0 comments · Fixed by #6280
Closed

Add room disallowing encryption crashes the app #6231

martias opened this issue Jun 1, 2022 · 0 comments · Fixed by #6280
Assignees
Labels
A-E2EE crash O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@martias
Copy link

martias commented Jun 1, 2022

Steps to reproduce

When roomCreationScreenAllowEncryptionConfiguration is set to false

  1. Where are you starting? What can you see?
  • Add Room in space
  1. What do you click?
    Select Space members or Public Room (anyone)
    Then the app crashes on self.mainTableView.scrollToRow since section3 is not created and the last section to scroll is hardcoded

Outcome

What did you expect?

To scroll to the last section

What happened instead?

App is crashing
*** Terminating app due to uncaught exception 'NSRangeException', reason: 'Attempted to scroll the table view to an out-of-bounds section (5) when there are only 5 sections.

Your phone model

Simulator

Operating system version

ios 15.5

Application version

1.8.16

Homeserver

No response

Will you send logs?

No

@martias martias added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Jun 1, 2022
@pixlwave pixlwave added A-E2EE S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Uncommon Most users are unlikely to come across this or unexpected workflow labels Jun 1, 2022
@pixlwave pixlwave added the crash label Jun 1, 2022
@ismailgulek ismailgulek self-assigned this Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE crash O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants