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

[Bug]: Crashing during search (TypeError: Cannot read property 'name' of undefined) #1087

Open
1 task done
zPhoeniqz opened this issue Dec 18, 2023 · 0 comments
Open
1 task done
Labels
bug Something isn't working or working properly triage report needs triaging

Comments

@zPhoeniqz
Copy link

Check for open issues

  • I have verified that another issue for this is not open, or it has been closed and has not been fixed.

Minimal reproducible example

Reproduce:

  1. Enter a search term
  2. Scroll for sometime until the app crashes

debug-log (also sent via email bug report):

lemmy-debug.log

I have the strong suspicion that the error happens in the CommunitySearchResults.tsx file since a property called name is read inside of useMemo (Line 19) which both are mentioned in the debug-log. I am trying to add a fix myself and open a PR but I have no React Native experience whatsoever.

Expected Behavior

App should not crash and display the search results.

Version

1.1.4.95 (95)

App Store or TestFlight?

App Store

iOS Version

16.x

Device

iPhone 8

@zPhoeniqz zPhoeniqz added bug Something isn't working or working properly triage report needs triaging labels Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working or working properly triage report needs triaging
Projects
None yet
Development

No branches or pull requests

1 participant