From a701b78f2e01a53ea17e77b7754d2060f1a62f87 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Tue, 29 Nov 2011 11:45:58 +0100 Subject: [PATCH] added ticket 1322563557_crashes-when-visiting-customers-id-tasks-new_758 --- .../ASSIGNED_paul@luon.net | 1 + .../COMMENT_1322563557_paul@luon.net | 32 +++++++++++++++++++ .../STATE_open | 1 + .../TAG_bug | 1 + .../TICKET_ID | 1 + .../TICKET_TITLE | 1 + .../TITLE | 1 + 7 files changed, 38 insertions(+) create mode 100644 1322563557_crashes-when-visiting-customers-id-tasks-new_758/ASSIGNED_paul@luon.net create mode 100644 1322563557_crashes-when-visiting-customers-id-tasks-new_758/COMMENT_1322563557_paul@luon.net create mode 100644 1322563557_crashes-when-visiting-customers-id-tasks-new_758/STATE_open create mode 100644 1322563557_crashes-when-visiting-customers-id-tasks-new_758/TAG_bug create mode 100644 1322563557_crashes-when-visiting-customers-id-tasks-new_758/TICKET_ID create mode 100644 1322563557_crashes-when-visiting-customers-id-tasks-new_758/TICKET_TITLE create mode 100644 1322563557_crashes-when-visiting-customers-id-tasks-new_758/TITLE diff --git a/1322563557_crashes-when-visiting-customers-id-tasks-new_758/ASSIGNED_paul@luon.net b/1322563557_crashes-when-visiting-customers-id-tasks-new_758/ASSIGNED_paul@luon.net new file mode 100644 index 0000000..6ea074d --- /dev/null +++ b/1322563557_crashes-when-visiting-customers-id-tasks-new_758/ASSIGNED_paul@luon.net @@ -0,0 +1 @@ +paul@luon.net diff --git a/1322563557_crashes-when-visiting-customers-id-tasks-new_758/COMMENT_1322563557_paul@luon.net b/1322563557_crashes-when-visiting-customers-id-tasks-new_758/COMMENT_1322563557_paul@luon.net new file mode 100644 index 0000000..6c14836 --- /dev/null +++ b/1322563557_crashes-when-visiting-customers-id-tasks-new_758/COMMENT_1322563557_paul@luon.net @@ -0,0 +1,32 @@ + +MethodError at /customers/5/tasks/new + undefined method `empty?' for nil:NilClass +Traceback (innermost first) + +/home/paul/Projects/stoptime/stoptime.rb: in _form_select + if opts_list.empty?... +/home/paul/Projects/stoptime/stoptime.rb: in task_form + _form_select("customer", @customer_list)... +/usr/lib/ruby/1.8/markaby/builder.rb: in instance_eval + str = instance_eval(&block)... +/usr/lib/ruby/1.8/markaby/builder.rb: in capture + str = instance_eval(&block)... +/usr/lib/ruby/1.8/markaby/builder.rb: in tag! + str = capture &block... +(eval): in tag! +/usr/lib/ruby/1.8/markaby/builder.rb: in html_tag + tag!(sym, *args, &block)... +(eval): in li +/home/paul/Projects/stoptime/stoptime.rb: in task_form + li do... +/usr/lib/ruby/1.8/markaby/builder.rb: in instance_eval + str = instance_eval(&block)... +/usr/lib/ruby/1.8/markaby/builder.rb: in capture + str = instance_eval(&block)... +/usr/lib/ruby/1.8/markaby/builder.rb: in tag! + str = capture &block... +(eval): in tag! +/usr/lib/ruby/1.8/markaby/builder.rb: in html_tag + tag!(sym, *args, &block)... +(eval): in ol +/home/paul/Projects/stoptime/stoptime.rb: in task_form diff --git a/1322563557_crashes-when-visiting-customers-id-tasks-new_758/STATE_open b/1322563557_crashes-when-visiting-customers-id-tasks-new_758/STATE_open new file mode 100644 index 0000000..f510327 --- /dev/null +++ b/1322563557_crashes-when-visiting-customers-id-tasks-new_758/STATE_open @@ -0,0 +1 @@ +open diff --git a/1322563557_crashes-when-visiting-customers-id-tasks-new_758/TAG_bug b/1322563557_crashes-when-visiting-customers-id-tasks-new_758/TAG_bug new file mode 100644 index 0000000..a568978 --- /dev/null +++ b/1322563557_crashes-when-visiting-customers-id-tasks-new_758/TAG_bug @@ -0,0 +1 @@ +TAG_bug diff --git a/1322563557_crashes-when-visiting-customers-id-tasks-new_758/TICKET_ID b/1322563557_crashes-when-visiting-customers-id-tasks-new_758/TICKET_ID new file mode 100644 index 0000000..ae03114 --- /dev/null +++ b/1322563557_crashes-when-visiting-customers-id-tasks-new_758/TICKET_ID @@ -0,0 +1 @@ +1322563557_crashes-when-visiting-customers-id-tasks-new_758 diff --git a/1322563557_crashes-when-visiting-customers-id-tasks-new_758/TICKET_TITLE b/1322563557_crashes-when-visiting-customers-id-tasks-new_758/TICKET_TITLE new file mode 100644 index 0000000..9388d44 --- /dev/null +++ b/1322563557_crashes-when-visiting-customers-id-tasks-new_758/TICKET_TITLE @@ -0,0 +1 @@ +Crashes when visiting /customers//tasks/new diff --git a/1322563557_crashes-when-visiting-customers-id-tasks-new_758/TITLE b/1322563557_crashes-when-visiting-customers-id-tasks-new_758/TITLE new file mode 100644 index 0000000..9388d44 --- /dev/null +++ b/1322563557_crashes-when-visiting-customers-id-tasks-new_758/TITLE @@ -0,0 +1 @@ +Crashes when visiting /customers//tasks/new