From e250cccb0d7efe7b3a0e485d92b0a79fb64c9ef8 Mon Sep 17 00:00:00 2001 From: Michael Gattozzi Date: Fri, 3 Jan 2020 10:00:33 -0500 Subject: Create 'Having no tickets causes the tui to crash' --- .../open/having-no-tickets-causes-the-tui-to-crash.toml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .dev-suite/ticket/open/having-no-tickets-causes-the-tui-to-crash.toml diff --git a/.dev-suite/ticket/open/having-no-tickets-causes-the-tui-to-crash.toml b/.dev-suite/ticket/open/having-no-tickets-causes-the-tui-to-crash.toml new file mode 100644 index 0000000..e4ffd42 --- /dev/null +++ b/.dev-suite/ticket/open/having-no-tickets-causes-the-tui-to-crash.toml @@ -0,0 +1,17 @@ +title = 'Having no tickets causes the TUI to crash' +status = 'Open' +id = '4c37e800-2e38-11ea-b6e0-32f54a3ad7cd' +assignees = [[ + '64c00ccc-761e-4484-86ac-904e461bb300', + 'Michael Gattozzi', +]] +description = ''' +Due to how the ticket tui uses indexing to avoid bounds checks this causes an +issue when you're, well, out of bounds. This was handled properly for when we +have n > 0 elements in the open or closed ticket arrays. An empty state for +when there are no tickets and a check for an empty collection need to be +created so that the indexing will be avoided and cause a crash. +''' +version = 'V1' + +[comments] -- cgit v1.2.3