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

Refresh an RG with active filter returning single item causes crash #308

Open
lawrencegripper opened this issue Mar 10, 2021 · 1 comment
Labels
bug Something isn't working no-stale

Comments

@lawrencegripper
Copy link
Owner

panic: runtime error: index out of range [0] with length 0────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

goroutine 116 [running]:
github.com/lawrencegripper/azbrowse/internal/pkg/views.(*ListWidget).CurrentItem(...)
	/home/runner/work/azbrowse/azbrowse/internal/pkg/views/list.go:438
github.com/lawrencegripper/azbrowse/internal/pkg/views.(*ListWidget).Navigate(0xc000ca60d0, 0xc0010a2200, 0x37, 0x40, 0xc0006f9ca0, 0xc001a9d000, 0x38, 0x0)
	/home/runner/work/azbrowse/azbrowse/internal/pkg/views/list.go:329 +0x85b
github.com/lawrencegripper/azbrowse/internal/pkg/views.(*ListWidget).ExpandCurrentSelection.func1(0xc000ca60d0, 0xc000e6e300, 0xc001aa0930, 0xc001a9d000)
	/home/runner/work/azbrowse/azbrowse/internal/pkg/views/list.go:308 +0x105
created by github.com/lawrencegripper/azbrowse/internal/pkg/views.(*ListWidget).ExpandCurrentSelection
	/home/runner/work/azbrowse/azbrowse/internal/pkg/views/list.go:296 +0x3db
@github-actions
Copy link

github-actions bot commented Apr 9, 2021

Flagging stale issue. Actions will close this issue in the next 5 days unless action is taken.

@lawrencegripper lawrencegripper added no-stale bug Something isn't working and removed no-issue-activity labels Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-stale
Projects
None yet
Development

No branches or pull requests

1 participant