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

Initialize MailModel.folders as empty Map #7966

Open
5 tasks
hrb-hub opened this issue Nov 18, 2024 · 0 comments
Open
5 tasks

Initialize MailModel.folders as empty Map #7966

hrb-hub opened this issue Nov 18, 2024 · 0 comments
Assignees
Labels
bug broken functionality, usability problems, unexpected errors ios issues that concern the ios client but not all clients

Comments

@hrb-hub
Copy link
Contributor

hrb-hub commented Nov 18, 2024

This potentially solves a reported issue that we don't quite know how to reproduce. The reported error message is: undefined is not an object (evaluating 'this.folders().size') which seem to only occur on iOS at the time of writing this.

Actual time: 0.5h

Test notes

  • Navigating between folders works
  • Clicking move mail shows correct target folders
    • In normal view
    • In search view
  • Available mail folders in search view work as intended
@hrb-hub hrb-hub self-assigned this Nov 18, 2024
hrb-hub added a commit that referenced this issue Nov 18, 2024
This potentially solves a reported issue that we don't quite know how
to reproduce. MailModel.folders.size is being read before
MailModel.folders is set to a Map.

Close #7966

Co-authored-by: paw <paw-hub@users.noreply.github.com>
@hrb-hub hrb-hub linked a pull request Nov 18, 2024 that will close this issue
@hrb-hub hrb-hub added bug broken functionality, usability problems, unexpected errors ios issues that concern the ios client but not all clients labels Nov 18, 2024
hrb-hub added a commit that referenced this issue Nov 18, 2024
This potentially solves a reported issue that we don't quite know how
to reproduce. MailModel.folders.size is being read before
MailModel.folders is set to a Map.

Close #7966

Co-authored-by: paw <paw-hub@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug broken functionality, usability problems, unexpected errors ios issues that concern the ios client but not all clients
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant