aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Gattozzi <mgattozzi@gmail.com>2020-01-03 10:00:33 -0500
committerMichael Gattozzi <mgattozzi@gmail.com>2020-01-03 10:38:35 -0500
commite250cccb0d7efe7b3a0e485d92b0a79fb64c9ef8 (patch)
tree8c01bc38dbdc19071156e2b0da115b5e4a44f905
parent9677ee1411583840abb43bc3d1c5f528670af7c5 (diff)
Create 'Having no tickets causes the tui to crash'
-rw-r--r--.dev-suite/ticket/open/having-no-tickets-causes-the-tui-to-crash.toml17
1 files changed, 17 insertions, 0 deletions
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]