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

Crash when tapping "See all" when grouped by host #263

Closed
bjtitus opened this issue Jun 18, 2024 · 1 comment
Closed

Crash when tapping "See all" when grouped by host #263

bjtitus opened this issue Jun 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@bjtitus
Copy link

bjtitus commented Jun 18, 2024

We noticed a crash when grouping by host in PulseUI's console:

Thread 1: Fatal error: No ObservableObject of type ConsoleEnvironment found. A View.environmentObject(_:) for ConsoleEnvironment may be missing as an ancestor of this view.

Steps to Reproduce

  1. Open the PulseUI ConsoleView
  2. Tap ⋯ > "Group By" > "Host"
  3. Find a host with a "See All" cell and tap the "See All" cell
  4. 💥 Crash

CrashLog.ips.zip

Similar to #211, the issue seems to be with ConsoleEnvironment environment object not being set up.

@kean kean added the bug Something isn't working label Jun 20, 2024
@kean
Copy link
Owner

kean commented Jun 20, 2024

Hey, thanks for the report, @bjtitus.

Getting the SwiftUI environment work has been a challenge as the behavior keeps changing across releases. It's fixed in v4.2.5.

@kean kean closed this as completed Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants