1
|
/usr/bin/ruby -I"lib:test" "/etc/_orga/redmine/rails-2.3.5/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/unit/lib/redmine/i18n_test.rb" "test/unit/lib/redmine/menu_manager/menu_helper_test.rb" "test/unit/lib/redmine/menu_manager/mapper_test.rb" "test/unit/lib/redmine/menu_manager/menu_item_test.rb" "test/unit/lib/redmine/menu_manager_test.rb" "test/unit/lib/redmine/mime_type_test.rb" "test/unit/lib/redmine/wiki_formatting/macros_test.rb" "test/unit/lib/redmine/hook_test.rb" "test/unit/lib/redmine/access_control_test.rb" "test/unit/lib/redmine/plugin_test.rb" "test/unit/lib/redmine/unified_diff_test.rb" "test/unit/lib/redmine_test.rb" "test/unit/project_test.rb" "test/unit/issue_relation_test.rb" "test/unit/role_test.rb" "test/unit/default_data_test.rb" "test/unit/issue_priority_test.rb" "test/unit/repository_test.rb" "test/unit/version_test.rb" "test/unit/issue_status_test.rb" "test/unit/enumeration_test.rb" "test/unit/issue_category_test.rb" "test/unit/repository_git_test.rb" "test/unit/principal_test.rb" "test/unit/message_test.rb" "test/unit/wiki_redirect_test.rb" "test/unit/calendar_test.rb" "test/unit/tracker_test.rb" "test/unit/project_nested_set_test.rb" "test/unit/filesystem_adapter_test.rb" "test/unit/wiki_test.rb" "test/unit/repository_bazaar_test.rb" "test/unit/mailer_test.rb" "test/unit/user_preference_test.rb" "test/unit/subversion_adapter_test.rb" "test/unit/auth_source_ldap_test.rb" "test/unit/member_test.rb" "test/unit/time_entry_activity_test.rb" "test/unit/git_adapter_test.rb" "test/unit/changeset_test.rb" "test/unit/document_test.rb" "test/unit/query_test.rb" "test/unit/repository_darcs_test.rb" "test/unit/wiki_content_test.rb" "test/unit/repository_subversion_test.rb" "test/unit/document_category_test.rb" "test/unit/mercurial_adapter_test.rb" "test/unit/activity_test.rb" "test/unit/journal_test.rb" "test/unit/attachment_test.rb" "test/unit/search_test.rb" "test/unit/news_test.rb" "test/unit/watcher_test.rb" "test/unit/helpers/sort_helper_test.rb" "test/unit/helpers/timelog_helper_test.rb" "test/unit/helpers/projects_helper_test.rb" "test/unit/helpers/custom_fields_helper_test.rb" "test/unit/helpers/application_helper_test.rb" "test/unit/helpers/search_helper_test.rb" "test/unit/wiki_page_test.rb" "test/unit/custom_field_test.rb" "test/unit/board_test.rb" "test/unit/custom_value_test.rb" "test/unit/group_test.rb" "test/unit/repository_mercurial_test.rb" "test/unit/comment_test.rb" "test/unit/issue_test.rb" "test/unit/token_test.rb" "test/unit/mail_handler_test.rb" "test/unit/time_entry_test.rb" "test/unit/testing_test.rb" "test/unit/repository_cvs_test.rb" "test/unit/repository_filesystem_test.rb" "test/unit/user_test.rb" "test/unit/setting_test.rb" "test/unit/enabled_module_test.rb"
|
2
|
(in /mnt/data/redmine/redmine-0.8-tmp)
|
3
|
/etc/_orga/redmine/rails-2.3.5/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
|
4
|
* DEFERRED: MenuManager#current_menu_item should be tested.
|
5
|
* DEFERRED: MenuManager#render_main_menu should be tested.
|
6
|
* DEFERRED: MenuManager#render_menu should be tested.
|
7
|
* DEFERRED: MenuManager#menu_item_and_children should be tested.
|
8
|
* DEFERRED: MenuManager#extract_node_details should be tested.
|
9
|
* DEFERRED: Mapper#initialize should be tested.
|
10
|
* DEFERRED: MenuItem#caption should be tested.
|
11
|
* DEFERRED: MenuItem#html_options should be tested.
|
12
|
* DEFERRED: MenuManager#map should be tested.
|
13
|
* DEFERRED: MenuManager#items should be tested.
|
14
|
Git test repository NOT FOUND. Skipping unit tests !!!
|
15
|
Filesystem test repository NOT FOUND. Skipping unit tests !!! See doc/RUNNING_TESTS.
|
16
|
Bazaar test repository NOT FOUND. Skipping unit tests !!!
|
17
|
Git test repository NOT FOUND. Skipping unit tests !!!
|
18
|
Darcs test repository NOT FOUND. Skipping unit tests !!!
|
19
|
Subversion test repository NOT FOUND. Skipping unit tests !!!
|
20
|
Mercurial test repository NOT FOUND. Skipping unit tests !!!
|
21
|
CVS test repository NOT FOUND. Skipping unit tests !!!
|
22
|
Filesystem test repository NOT FOUND. Skipping unit tests !!! See doc/RUNNING_TESTS.
|
23
|
Skipping openid tests.
|
24
|
Loaded suite /etc/_orga/redmine/rails-2.3.5/gems/rake-0.8.7/lib/rake/rake_test_loader
|
25
|
Started
|
26
|
................................................................................................................................................................................................................................................................................................................................................................................F.......F....FFFF.....F..............................................................................................................................................................................................................................
|
27
|
Finished in 108.479132 seconds.
|
28
|
|
29
|
1) Failure:
|
30
|
test_filter_unwatched_issues(QueryTest) [/test/unit/query_test.rb:198]:
|
31
|
<12> expected but was
|
32
|
<2>.
|
33
|
|
34
|
2) Failure:
|
35
|
test_operator_ago(QueryTest) [/test/unit/query_test.rb:142]:
|
36
|
<false> is not true.
|
37
|
|
38
|
3) Failure:
|
39
|
test_operator_in(QueryTest) [/test/unit/query_test.rb:133]:
|
40
|
<false> is not true.
|
41
|
|
42
|
4) Failure:
|
43
|
test_operator_in_less_than(QueryTest) [/test/unit/query_test.rb:105]:
|
44
|
<false> is not true.
|
45
|
|
46
|
5) Failure:
|
47
|
test_operator_in_more_than(QueryTest) [/test/unit/query_test.rb:97]:
|
48
|
<false> is not true.
|
49
|
|
50
|
6) Failure:
|
51
|
test_operator_less_than_ago(QueryTest) [/test/unit/query_test.rb:114]:
|
52
|
<false> is not true.
|
53
|
|
54
|
7) Failure:
|
55
|
test_operator_today(QueryTest) [/test/unit/query_test.rb:150]:
|
56
|
<false> is not true.
|
57
|
|
58
|
613 tests, 2553 assertions, 7 failures, 0 errors
|
59
|
/usr/bin/ruby -I"lib:test" "/etc/_orga/redmine/rails-2.3.5/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/application_controller_test.rb" "test/functional/custom_fields_controller_test.rb" "test/functional/roles_controller_test.rb" "test/functional/groups_controller_test.rb" "test/functional/repositories_subversion_controller_test.rb" "test/functional/users_controller_test.rb" "test/functional/queries_controller_test.rb" "test/functional/repositories_darcs_controller_test.rb" "test/functional/admin_controller_test.rb" "test/functional/sys_controller_test.rb" "test/functional/repositories_bazaar_controller_test.rb" "test/functional/attachments_controller_test.rb" "test/functional/issue_categories_controller_test.rb" "test/functional/search_controller_test.rb" "test/functional/projects_controller_test.rb" "test/functional/workflows_controller_test.rb" "test/functional/messages_controller_test.rb" "test/functional/watchers_controller_test.rb" "test/functional/issue_statuses_controller_test.rb" "test/functional/welcome_controller_test.rb" "test/functional/settings_controller_test.rb" "test/functional/my_controller_test.rb" "test/functional/repositories_controller_test.rb" "test/functional/mail_handler_controller_test.rb" "test/functional/members_controller_test.rb" "test/functional/repositories_mercurial_controller_test.rb" "test/functional/wikis_controller_test.rb" "test/functional/reports_controller_test.rb" "test/functional/documents_controller_test.rb" "test/functional/repositories_git_controller_test.rb" "test/functional/repositories_cvs_controller_test.rb" "test/functional/versions_controller_test.rb" "test/functional/boards_controller_test.rb" "test/functional/news_controller_test.rb" "test/functional/trackers_controller_test.rb" "test/functional/issues_controller_test.rb" "test/functional/account_controller_test.rb" "test/functional/issue_relations_controller_test.rb" "test/functional/journals_controller_test.rb" "test/functional/timelog_controller_test.rb" "test/functional/wiki_controller_test.rb" "test/functional/enumerations_controller_test.rb"
|
60
|
/etc/_orga/redmine/rails-2.3.5/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
|
61
|
/mnt/data/redmine/redmine-0.8-tmp/app/controllers/my_controller.rb:31: warning: already initialized constant BLOCKS
|
62
|
/mnt/data/redmine/redmine-0.8-tmp/app/controllers/my_controller.rb:35: warning: already initialized constant DEFAULT_LAYOUT
|
63
|
Subversion test repository NOT FOUND. Skipping functional tests !!!
|
64
|
Darcs test repository NOT FOUND. Skipping functional tests !!!
|
65
|
Bazaar test repository NOT FOUND. Skipping functional tests !!!
|
66
|
Mercurial test repository NOT FOUND. Skipping functional tests !!!
|
67
|
Git test repository NOT FOUND. Skipping functional tests !!!
|
68
|
CVS test repository NOT FOUND. Skipping functional tests !!!
|
69
|
Skipping openid tests.
|
70
|
Loaded suite /etc/_orga/redmine/rails-2.3.5/gems/rake-0.8.7/lib/rake/rake_test_loader
|
71
|
Started
|
72
|
..............................................................................................................................F.........F.....F...F.FF............................................................................................................................................................................................................................................................................svn: Unable to open an ra_local session to URL
|
73
|
svn: Unable to open repository 'file:///mnt/data/redmine/redmine-0.8-tmp/tmp/test/subversion_repository'
|
74
|
.svn: Unable to open an ra_local session to URL
|
75
|
svn: Unable to open repository 'file:///mnt/data/redmine/redmine-0.8-tmp/tmp/test/subversion_repository'
|
76
|
..............................................................................................................................................
|
77
|
Finished in 83.809576 seconds.
|
78
|
|
79
|
1) Failure:
|
80
|
test_gantt(IssuesControllerTest) [/test/functional/issues_controller_test.rb:287]:
|
81
|
<false> is not true.
|
82
|
|
83
|
2) Failure:
|
84
|
test_index(IssuesControllerTest) [/test/functional/issues_controller_test.rb:71]:
|
85
|
expected tag, but no tag found matching {:content=>/Can't print recipes/, :tag=>"a"} in:
|
86
|
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\n<head>\n<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n<title>Issues - Redmine</title>\n<meta name=\"description\" content=\"Redmine\" />\n<meta name=\"keywords\" content=\"issue,bug,tracker\" />\n<link href=\"/stylesheets/application.css?1272655310\" media=\"all\" rel=\"stylesheet\" type=\"text/css\" />\n<script src=\"/javascripts/prototype.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/effects.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/dragdrop.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/controls.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/application.js?1272655310\" type=\"text/javascript\"></script>\n<link href=\"/stylesheets/jstoolbar.css?1233572194\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n<!--[if IE]>\n <style type=\"text/css\">\n * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); }\n body {behavior: url(/stylesheets/csshover.htc?1221815008);}\n </style>\n<![endif]-->\n\n<!-- page specific tags -->\n\n<script src=\"/javascripts/select_list_move.js?1272655310\" type=\"text/javascript\"></script>\n\n <link href=\"http://test.host/issues.atom?query_id=\" rel=\"alternate\" title=\"Issues\" type=\"application/atom+xml\" />\n <link href=\"http://test.host/issues/changes?format=atom&query_id=\" rel=\"alternate\" title=\"Details of all changes\" type=\"application/atom+xml\" />\n <script src=\"/javascripts/context_menu.js?1272655310\" type=\"text/javascript\"></script>\n <link href=\"/stylesheets/context_menu.css?1233572194\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n</head>\n<body>\n<div id=\"wrapper\">\n<div id=\"top-menu\">\n <div id=\"account\">\n <ul><li><a href=\"/login\" class=\"login\">Sign in</a></li>\n<li><a href=\"/account/register\" class=\"register\">Register</a></li></ul> </div>\n \n <ul><li><a href=\"/\" class=\"home\">Home</a></li>\n<li><a href=\"/projects\" class=\"projects\">Projects</a></li>\n<li><a href=\"http://www.redmine.org/guide\" class=\"help\">Help</a></li></ul></div>\n \n<div id=\"header\">\n <div id=\"quick-search\">\n <form action=\"/search\" method=\"get\">\n <input name=\"issues\" type=\"hidden\" value=\"1\" />\n <a href=\"/search\" accesskey=\"4\">Search</a>:\n <input accesskey=\"f\" class=\"small\" id=\"q\" name=\"q\" size=\"20\" type=\"text\" />\n </form>\n \n </div>\n \n <h1>Redmine</h1>\n \n \n</div>\n\n<div class=\"\" id=\"main\">\n <div id=\"sidebar\"> \n \n <h3>Issues</h3>\n<a href=\"/issues?set_filter=1\">View all issues</a><br />\n\n\n\n\n\t<a href=\"/issues/calendar\">Calendar</a><br />\n\n\n\t<a href=\"/issues/gantt\">Gantt</a><br />\n\n\n\n<h3>Custom queries</h3>\n\n<a href=\"/issues?query_id=5\">Open issues by priority and tracker</a><br />\n<a href=\"/issues?query_id=9\">Open issues grouped by list custom field</a><br />\n<a href=\"/issues?query_id=6\">Open issues grouped by tracker</a><br />\n<a href=\"/issues?query_id=4\">Public query for all projects</a><br />\n\n\n\n \n </div>\n \n <div id=\"content\">\n\t\t\t\t\n <div class=\"contextual\">\n\n</div>\n\n<h2>Issues</h2>\n\n\n<form action=\"/queries/new\" id=\"query_form\" method=\"post\">\n \n\t\t<div id=\"query_form_content\">\n <fieldset id=\"filters\" class=\"collapsible \">\n \t<legend onclick=\"toggleFieldset(this);\">Filters</legend>\n \t<div style=\"\">\n \t\t<script type=\"text/javascript\">\n//<![CDATA[\nfunction add_filter() {\n select = $('add_filter_select');\n field = select.value\n Element.show('tr_' + field);\n check_box = $('cb_' + field);\n check_box.checked = true;\n toggle_filter(field);\n select.selectedIndex = 0;\n \n for (i=0; i<select.options.length; i++) {\n if (select.options[i].value == field) {\n select.options[i].disabled = true;\n } \n }\n}\n\nfunction toggle_filter(field) {\n check_box = $('cb_' + field);\n \n if (check_box.checked) {\n Element.show(\"operators_\" + field);\n toggle_operator(field);\n } else {\n Element.hide(\"operators_\" + field);\n Element.hide(\"div_values_\" + field);\n }\n}\n\nfunction toggle_operator(field) {\n operator = $(\"operators_\" + field);\n switch (operator.value) {\n case \"!*\":\n case \"*\":\n case \"t\":\n case \"w\":\n case \"o\":\n case \"c\":\n Element.hide(\"div_values_\" + field);\n break;\n default:\n Element.show(\"div_values_\" + field);\n break;\n }\n}\n\nfunction toggle_multi_select(field) {\n select = $('values_' + field);\n if (select.multiple == true) {\n select.multiple = false;\n } else {\n select.multiple = true;\n }\n}\n//]]>\n</script>\n\n<table width=\"100%\">\n<tr>\n<td>\n<table>\n\n \n <tr id=\"tr_status_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input checked=\"checked\" id=\"cb_status_id\" name=\"fields[]\" onclick=\"toggle_filter('status_id');\" type=\"checkbox\" value=\"status_id\" />\n <label for=\"cb_status_id\">Status</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_status_id\" name=\"operators[status_id]\" onchange=\"toggle_operator('status_id');\" style=\"vertical-align: top;\"><option value=\"o\" selected=\"selected\">open</option>\n<option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"c\">closed</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_status_id\" style=\"display:none;\">\n \n <select name=\"values[status_id][]\" id=\"values_status_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"1\">New</option>\n<option value=\"2\">Assigned</option>\n<option value=\"3\">Resolved</option>\n<option value=\"4\">Feedback</option>\n<option value=\"5\">Closed</option>\n<option value=\"6\">Rejected</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('status_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('status_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_tracker_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_tracker_id\" name=\"fields[]\" onclick=\"toggle_filter('tracker_id');\" type=\"checkbox\" value=\"tracker_id\" />\n <label for=\"cb_tracker_id\">Tracker</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_tracker_id\" name=\"operators[tracker_id]\" onchange=\"toggle_operator('tracker_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option></select>\n </td>\n <td> \n <div id=\"div_values_tracker_id\" style=\"display:none;\">\n \n <select name=\"values[tracker_id][]\" id=\"values_tracker_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"1\">Bug</option>\n<option value=\"2\">Feature request</option>\n<option value=\"3\">Support request</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('tracker_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('tracker_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_priority_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_priority_id\" name=\"fields[]\" onclick=\"toggle_filter('priority_id');\" type=\"checkbox\" value=\"priority_id\" />\n <label for=\"cb_priority_id\">Priority</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_priority_id\" name=\"operators[priority_id]\" onchange=\"toggle_operator('priority_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option></select>\n </td>\n <td> \n <div id=\"div_values_priority_id\" style=\"display:none;\">\n \n <select name=\"values[priority_id][]\" id=\"values_priority_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"4\">Low</option>\n<option value=\"5\">Normal</option>\n<option value=\"6\">High</option>\n<option value=\"7\">Urgent</option>\n<option value=\"8\">Immediate</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('priority_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('priority_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_subject\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_subject\" name=\"fields[]\" onclick=\"toggle_filter('subject');\" type=\"checkbox\" value=\"subject\" />\n <label for=\"cb_subject\">Subject</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_subject\" name=\"operators[subject]\" onchange=\"toggle_operator('subject');\" style=\"vertical-align: top;\"><option value=\"~\">contains</option>\n<option value=\"!~\">doesn't contain</option></select>\n </td>\n <td> \n <div id=\"div_values_subject\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_subject\" name=\"values[subject][]\" size=\"30\" type=\"text\" />\n \n </div>\n <script type=\"text/javascript\">toggle_filter('subject');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_created_on\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_created_on\" name=\"fields[]\" onclick=\"toggle_filter('created_on');\" type=\"checkbox\" value=\"created_on\" />\n <label for=\"cb_created_on\">Created</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_created_on\" name=\"operators[created_on]\" onchange=\"toggle_operator('created_on');\" style=\"vertical-align: top;\"><option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option></select>\n </td>\n <td> \n <div id=\"div_values_created_on\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_created_on\" name=\"values[created_on][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('created_on');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_updated_on\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_updated_on\" name=\"fields[]\" onclick=\"toggle_filter('updated_on');\" type=\"checkbox\" value=\"updated_on\" />\n <label for=\"cb_updated_on\">Updated</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_updated_on\" name=\"operators[updated_on]\" onchange=\"toggle_operator('updated_on');\" style=\"vertical-align: top;\"><option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option></select>\n </td>\n <td> \n <div id=\"div_values_updated_on\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_updated_on\" name=\"values[updated_on][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('updated_on');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_start_date\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_start_date\" name=\"fields[]\" onclick=\"toggle_filter('start_date');\" type=\"checkbox\" value=\"start_date\" />\n <label for=\"cb_start_date\">Start</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_start_date\" name=\"operators[start_date]\" onchange=\"toggle_operator('start_date');\" style=\"vertical-align: top;\"><option value=\"<t+\">in less than</option>\n<option value=\">t+\">in more than</option>\n<option value=\"t+\">in</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option>\n<option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option></select>\n </td>\n <td> \n <div id=\"div_values_start_date\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_start_date\" name=\"values[start_date][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('start_date');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_due_date\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_due_date\" name=\"fields[]\" onclick=\"toggle_filter('due_date');\" type=\"checkbox\" value=\"due_date\" />\n <label for=\"cb_due_date\">Due date</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_due_date\" name=\"operators[due_date]\" onchange=\"toggle_operator('due_date');\" style=\"vertical-align: top;\"><option value=\"<t+\">in less than</option>\n<option value=\">t+\">in more than</option>\n<option value=\"t+\">in</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option>\n<option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option></select>\n </td>\n <td> \n <div id=\"div_values_due_date\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_due_date\" name=\"values[due_date][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('due_date');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_estimated_hours\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_estimated_hours\" name=\"fields[]\" onclick=\"toggle_filter('estimated_hours');\" type=\"checkbox\" value=\"estimated_hours\" />\n <label for=\"cb_estimated_hours\">Estimated time</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_estimated_hours\" name=\"operators[estimated_hours]\" onchange=\"toggle_operator('estimated_hours');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\">=\">>=</option>\n<option value=\"<=\"><=</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_estimated_hours\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_estimated_hours\" name=\"values[estimated_hours][]\" size=\"3\" type=\"text\" />\n \n </div>\n <script type=\"text/javascript\">toggle_filter('estimated_hours');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_done_ratio\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_done_ratio\" name=\"fields[]\" onclick=\"toggle_filter('done_ratio');\" type=\"checkbox\" value=\"done_ratio\" />\n <label for=\"cb_done_ratio\">% Done</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_done_ratio\" name=\"operators[done_ratio]\" onchange=\"toggle_operator('done_ratio');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\">=\">>=</option>\n<option value=\"<=\"><=</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_done_ratio\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_done_ratio\" name=\"values[done_ratio][]\" size=\"3\" type=\"text\" />\n \n </div>\n <script type=\"text/javascript\">toggle_filter('done_ratio');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_cf_1\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_cf_1\" name=\"fields[]\" onclick=\"toggle_filter('cf_1');\" type=\"checkbox\" value=\"cf_1\" />\n <label for=\"cb_cf_1\">Database</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_cf_1\" name=\"operators[cf_1]\" onchange=\"toggle_operator('cf_1');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_cf_1\" style=\"display:none;\">\n \n <select name=\"values[cf_1][]\" id=\"values_cf_1\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"MySQL\">MySQL</option>\n<option value=\"PostgreSQL\">PostgreSQL</option>\n<option value=\"Oracle\">Oracle</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('cf_1');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('cf_1');</script>\n </td>\n </tr>\n\n</table>\n</td>\n<td class=\"add-filter\">\nAdd filter:\n<select class=\"select-small\" id=\"add_filter_select\" onchange=\"add_filter();\"><option value=\"\"></option>\n<option value=\"tracker_id\">Tracker</option>\n<option value=\"priority_id\">Priority</option>\n<option value=\"subject\">Subject</option>\n<option value=\"created_on\">Created</option>\n<option value=\"updated_on\">Updated</option>\n<option value=\"start_date\">Start</option>\n<option value=\"due_date\">Due date</option>\n<option value=\"estimated_hours\">Estimated time</option>\n<option value=\"done_ratio\">% Done</option>\n<option value=\"cf_1\">Database</option></select>\n</td>\n</tr>\n</table>\n\n \t</div>\n </fieldset>\n <fieldset class=\"collapsible collapsed\">\n \t<legend onclick=\"toggleFieldset(this);\">Options</legend>\n \t<div style=\"display: none;\">\n \t\t<table>\n \t\t\t<tr>\n \t\t\t\t<td>Columns</td>\n\t\t\t\t\t\t<td><table style=\"border-collapse: collapse; border:0;\">\n\t<tr>\n\t\t<td style=\"padding-left:0\"><select id=\"available_columns\" multiple=\"multiple\" name=\"available_columns[]\" size=\"10\" style=\"width:150px\"><option value=\"author\">Author</option>\n<option value=\"category\">Category</option>\n<option value=\"fixed_version\">Target version</option>\n<option value=\"start_date\">Start</option>\n<option value=\"due_date\">Due date</option>\n<option value=\"estimated_hours\">Estimated time</option>\n<option value=\"done_ratio\">% Done</option>\n<option value=\"created_on\">Created</option>\n<option value=\"cf_1\">Database</option>\n<option value=\"cf_2\">Searchable field</option>\n<option value=\"cf_6\">Float field</option>\n<option value=\"cf_8\">Custom date</option>\n<option value=\"cf_9\">Project 1 cf</option></select>\n\t\t</td>\n\t\t<td align=\"center\" valign=\"middle\">\n\t\t\t<input type=\"button\" value=\"→\"\n\t\t\t onclick=\"moveOptions(this.form.available_columns, this.form.selected_columns);\" /><br />\n\t\t\t<input type=\"button\" value=\"←\"\n\t\t\t onclick=\"moveOptions(this.form.selected_columns, this.form.available_columns);\" />\n\t\t</td>\n\t\t<td><select id=\"selected_columns\" multiple=\"multiple\" name=\"query[column_names][]\" size=\"10\" style=\"width:150px\"><option value=\"project\">Project</option>\n<option value=\"tracker\">Tracker</option>\n<option value=\"status\">Status</option>\n<option value=\"priority\">Priority</option>\n<option value=\"subject\">Subject</option>\n<option value=\"assigned_to\">Assigned to</option>\n<option value=\"updated_on\">Updated</option></select>\n\t\t</td>\n\t\t<td align=\"center\" valign=\"middle\">\n\t\t\t<input type=\"button\" value=\"↑\" onclick=\"moveOptionUp(this.form.selected_columns);\" /><br />\n\t\t\t<input type=\"button\" value=\"↓\" onclick=\"moveOptionDown(this.form.selected_columns);\" />\n\t\t</td>\n\t</tr>\n</table>\n\n\n</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>Group results by</td>\n\t\t\t\t\t\t<td><select id=\"group_by\" name=\"group_by\"><option value=\"\" selected=\"selected\"></option>\n<option value=\"project\">Project</option>\n<option value=\"tracker\">Tracker</option>\n<option value=\"status\">Status</option>\n<option value=\"priority\">Priority</option>\n<option value=\"assigned_to\">Assigned to</option>\n<option value=\"category\">Category</option>\n<option value=\"fixed_version\">Target version</option>\n<option value=\"done_ratio\">% Done</option>\n<option value=\"cf_1\">Database</option>\n<option value=\"cf_8\">Custom date</option>\n<option value=\"cf_9\">Project 1 cf</option></select></td>\n\t\t\t\t\t</tr>\n\t\t\t\t</table>\n\t\t\t</div>\n\t\t</fieldset>\n\t\t</div>\n <p class=\"buttons\">\n\n <a class=\"icon icon-checked\" href=\"#\" onclick=\"selectAllOptions("selected_columns");; new Ajax.Updater('content', '/issues?set_filter=1', {asynchronous:true, evalScripts:true, parameters:Form.serialize('query_form')}); return false;\">Apply</a>\n \n <a class=\"icon icon-reload\" href=\"#\" onclick=\"new Ajax.Updater('content', '/issues?set_filter=1', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Clear</a>\n \n \n </p>\n</form>\n\n\n\n\n<form action=\"/issues\" method=\"post\">\t\n<input id=\"back_url\" name=\"back_url\" type=\"hidden\" value=\"/issues\" />\n<div class=\"autoscroll\">\n<table class=\"list issues\">\n <thead><tr>\n <th><a href=\"/issues\" onclick=\"toggleIssuesSelection(Element.up(this, "form")); return false;\" title=\"Check all/Uncheck all\"><img alt=\"Toggle_check\" src=\"/images/toggle_check.png?1221815043\" /></a>\n </th>\n\t\t<th title=\"Sort by "#"\"><a class=\"sort desc\" href=\"/issues?sort=id\" onclick=\"new Ajax.Updater('content', '/issues?sort=id', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">#</a></th>\n \n <th title=\"Sort by "Project"\"><a href=\"/issues?sort=project%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/issues?sort=project%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Project</a></th>\n \n <th title=\"Sort by "Tracker"\"><a href=\"/issues?sort=tracker%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/issues?sort=tracker%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Tracker</a></th>\n \n <th title=\"Sort by "Status"\"><a href=\"/issues?sort=status%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/issues?sort=status%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Status</a></th>\n \n <th title=\"Sort by "Priority"\"><a href=\"/issues?sort=priority%3Adesc%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/issues?sort=priority%3Adesc%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Priority</a></th>\n \n <th title=\"Sort by "Subject"\"><a href=\"/issues?sort=subject%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/issues?sort=subject%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Subject</a></th>\n \n <th title=\"Sort by "Assigned to"\"><a href=\"/issues?sort=assigned_to%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/issues?sort=assigned_to%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Assigned to</a></th>\n \n <th title=\"Sort by "Updated"\"><a href=\"/issues?sort=updated_on%3Adesc%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/issues?sort=updated_on%3Adesc%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Updated</a></th>\n \n\t</tr></thead>\n\t\n\t<tbody>\n\t \n\t<tr id=\"issue-3\" class=\"hascontextmenu odd issue status-1 priority-1 overdue\">\n\t <td class=\"checkbox\"><input name=\"ids[]\" type=\"checkbox\" value=\"3\" /></td>\n\t\t<td class=\"id\"><a href=\"/issues/3\">3</a></td>\n <td class=\"project\"><a href=\"/projects/ecookbook\">eCookbook</a></td><td class=\"tracker\">Bug</td><td class=\"status\">New</td><td class=\"priority\">Low</td><td class=\"subject\"><a href=\"/issues/3\">Error 281 when updating a recipe</a></td><td class=\"assigned_to\"><a href=\"/users/3\">Dave Lopper</a></td><td class=\"updated_on\">07/19/2006 11:07 pm</td>\n\t</tr>\n\t \n\t<tr id=\"issue-2\" class=\"hascontextmenu even issue status-1 priority-1\">\n\t <td class=\"checkbox\"><input name=\"ids[]\" type=\"checkbox\" value=\"2\" /></td>\n\t\t<td class=\"id\"><a href=\"/issues/2\">2</a></td>\n <td class=\"project\"><a href=\"/projects/ecookbook\">eCookbook</a></td><td class=\"tracker\">Feature request</td><td class=\"status\">Assigned</td><td class=\"priority\">Normal</td><td class=\"subject\"><a href=\"/issues/2\">Add ingredients categories</a></td><td class=\"assigned_to\"><a href=\"/users/3\">Dave Lopper</a></td><td class=\"updated_on\">07/19/2006 11:09 pm</td>\n\t</tr>\n\t\t</tbody>\n</table>\n</div>\n</form>\n<p class=\"pagination\"> (1-6/6) | Per page: 25, <a href=\"/issues?per_page=50\" onclick=\"new Ajax.Updater('content', '/issues?per_page=50', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">50</a>, <a href=\"/issues?per_page=100\" onclick=\"new Ajax.Updater('content', '/issues?per_page=100', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">100</a></p>\n\n\n<p class=\"other-formats\">Also available in:\n\t<span><a href=\"/issues.atom\" class=\"atom\" rel=\"nofollow\">Atom</a></span>\n\t<span><a href=\"/issues.csv\" class=\"csv\" rel=\"nofollow\">CSV</a></span>\n\t<span><a href=\"/issues.pdf\" class=\"pdf\" rel=\"nofollow\">PDF</a></span>\n</p>\n\n\n\n\n\n\n\n<div id=\"context-menu\" style=\"display: none;\"></div>\n<script type=\"text/javascript\">\n//<![CDATA[\nnew ContextMenu('/issues/context_menu')\n//]]>\n</script>\n\n \n\t\t\t\t<div style=\"clear:both;\"></div>\n </div>\n</div>\n\n<div id=\"ajax-indicator\" style=\"display:none;\"><span>Loading...</span></div>\n\t\n<div id=\"footer\">\n Powered by <a href=\"http://www.redmine.org/\">Redmine</a> © 2006-2010 Jean-Philippe Lang\n</div>\n</div>\n\n</body>\n</html>\n".
|
87
|
<nil> is not true.
|
88
|
|
89
|
3) Failure:
|
90
|
test_index_should_not_list_issues_when_module_disabled(IssuesControllerTest) [/test/functional/issues_controller_test.rb:106]:
|
91
|
expected tag, but no tag found matching {:content=>/Subproject issue/, :tag=>"a"} in:
|
92
|
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\n<head>\n<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n<title>Issues - Redmine</title>\n<meta name=\"description\" content=\"Redmine\" />\n<meta name=\"keywords\" content=\"issue,bug,tracker\" />\n<link href=\"/stylesheets/application.css?1272655310\" media=\"all\" rel=\"stylesheet\" type=\"text/css\" />\n<script src=\"/javascripts/prototype.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/effects.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/dragdrop.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/controls.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/application.js?1272655310\" type=\"text/javascript\"></script>\n<link href=\"/stylesheets/jstoolbar.css?1233572194\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n<!--[if IE]>\n <style type=\"text/css\">\n * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); }\n body {behavior: url(/stylesheets/csshover.htc?1221815008);}\n </style>\n<![endif]-->\n\n<!-- page specific tags -->\n\n<script src=\"/javascripts/select_list_move.js?1272655310\" type=\"text/javascript\"></script>\n\n <link href=\"http://test.host/issues.atom?query_id=\" rel=\"alternate\" title=\"Issues\" type=\"application/atom+xml\" />\n <link href=\"http://test.host/issues/changes?format=atom&query_id=\" rel=\"alternate\" title=\"Details of all changes\" type=\"application/atom+xml\" />\n <script src=\"/javascripts/context_menu.js?1272655310\" type=\"text/javascript\"></script>\n <link href=\"/stylesheets/context_menu.css?1233572194\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n</head>\n<body>\n<div id=\"wrapper\">\n<div id=\"top-menu\">\n <div id=\"account\">\n <ul><li><a href=\"/login\" class=\"login\">Sign in</a></li>\n<li><a href=\"/account/register\" class=\"register\">Register</a></li></ul> </div>\n \n <ul><li><a href=\"/\" class=\"home\">Home</a></li>\n<li><a href=\"/projects\" class=\"projects\">Projects</a></li>\n<li><a href=\"http://www.redmine.org/guide\" class=\"help\">Help</a></li></ul></div>\n \n<div id=\"header\">\n <div id=\"quick-search\">\n <form action=\"/search\" method=\"get\">\n <input name=\"issues\" type=\"hidden\" value=\"1\" />\n <a href=\"/search\" accesskey=\"4\">Search</a>:\n <input accesskey=\"f\" class=\"small\" id=\"q\" name=\"q\" size=\"20\" type=\"text\" />\n </form>\n \n </div>\n \n <h1>Redmine</h1>\n \n \n</div>\n\n<div class=\"\" id=\"main\">\n <div id=\"sidebar\"> \n \n <h3>Issues</h3>\n<a href=\"/issues?set_filter=1\">View all issues</a><br />\n\n\n\n\n\t<a href=\"/issues/calendar\">Calendar</a><br />\n\n\n\t<a href=\"/issues/gantt\">Gantt</a><br />\n\n\n\n<h3>Custom queries</h3>\n\n<a href=\"/issues?query_id=5\">Open issues by priority and tracker</a><br />\n<a href=\"/issues?query_id=9\">Open issues grouped by list custom field</a><br />\n<a href=\"/issues?query_id=6\">Open issues grouped by tracker</a><br />\n<a href=\"/issues?query_id=4\">Public query for all projects</a><br />\n\n\n\n \n </div>\n \n <div id=\"content\">\n\t\t\t\t\n <div class=\"contextual\">\n\n</div>\n\n<h2>Issues</h2>\n\n\n<form action=\"/queries/new\" id=\"query_form\" method=\"post\">\n \n\t\t<div id=\"query_form_content\">\n <fieldset id=\"filters\" class=\"collapsible \">\n \t<legend onclick=\"toggleFieldset(this);\">Filters</legend>\n \t<div style=\"\">\n \t\t<script type=\"text/javascript\">\n//<![CDATA[\nfunction add_filter() {\n select = $('add_filter_select');\n field = select.value\n Element.show('tr_' + field);\n check_box = $('cb_' + field);\n check_box.checked = true;\n toggle_filter(field);\n select.selectedIndex = 0;\n \n for (i=0; i<select.options.length; i++) {\n if (select.options[i].value == field) {\n select.options[i].disabled = true;\n } \n }\n}\n\nfunction toggle_filter(field) {\n check_box = $('cb_' + field);\n \n if (check_box.checked) {\n Element.show(\"operators_\" + field);\n toggle_operator(field);\n } else {\n Element.hide(\"operators_\" + field);\n Element.hide(\"div_values_\" + field);\n }\n}\n\nfunction toggle_operator(field) {\n operator = $(\"operators_\" + field);\n switch (operator.value) {\n case \"!*\":\n case \"*\":\n case \"t\":\n case \"w\":\n case \"o\":\n case \"c\":\n Element.hide(\"div_values_\" + field);\n break;\n default:\n Element.show(\"div_values_\" + field);\n break;\n }\n}\n\nfunction toggle_multi_select(field) {\n select = $('values_' + field);\n if (select.multiple == true) {\n select.multiple = false;\n } else {\n select.multiple = true;\n }\n}\n//]]>\n</script>\n\n<table width=\"100%\">\n<tr>\n<td>\n<table>\n\n \n <tr id=\"tr_status_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input checked=\"checked\" id=\"cb_status_id\" name=\"fields[]\" onclick=\"toggle_filter('status_id');\" type=\"checkbox\" value=\"status_id\" />\n <label for=\"cb_status_id\">Status</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_status_id\" name=\"operators[status_id]\" onchange=\"toggle_operator('status_id');\" style=\"vertical-align: top;\"><option value=\"o\" selected=\"selected\">open</option>\n<option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"c\">closed</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_status_id\" style=\"display:none;\">\n \n <select name=\"values[status_id][]\" id=\"values_status_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"1\">New</option>\n<option value=\"2\">Assigned</option>\n<option value=\"3\">Resolved</option>\n<option value=\"4\">Feedback</option>\n<option value=\"5\">Closed</option>\n<option value=\"6\">Rejected</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('status_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('status_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_tracker_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_tracker_id\" name=\"fields[]\" onclick=\"toggle_filter('tracker_id');\" type=\"checkbox\" value=\"tracker_id\" />\n <label for=\"cb_tracker_id\">Tracker</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_tracker_id\" name=\"operators[tracker_id]\" onchange=\"toggle_operator('tracker_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option></select>\n </td>\n <td> \n <div id=\"div_values_tracker_id\" style=\"display:none;\">\n \n <select name=\"values[tracker_id][]\" id=\"values_tracker_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"1\">Bug</option>\n<option value=\"2\">Feature request</option>\n<option value=\"3\">Support request</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('tracker_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('tracker_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_priority_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_priority_id\" name=\"fields[]\" onclick=\"toggle_filter('priority_id');\" type=\"checkbox\" value=\"priority_id\" />\n <label for=\"cb_priority_id\">Priority</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_priority_id\" name=\"operators[priority_id]\" onchange=\"toggle_operator('priority_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option></select>\n </td>\n <td> \n <div id=\"div_values_priority_id\" style=\"display:none;\">\n \n <select name=\"values[priority_id][]\" id=\"values_priority_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"4\">Low</option>\n<option value=\"5\">Normal</option>\n<option value=\"6\">High</option>\n<option value=\"7\">Urgent</option>\n<option value=\"8\">Immediate</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('priority_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('priority_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_subject\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_subject\" name=\"fields[]\" onclick=\"toggle_filter('subject');\" type=\"checkbox\" value=\"subject\" />\n <label for=\"cb_subject\">Subject</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_subject\" name=\"operators[subject]\" onchange=\"toggle_operator('subject');\" style=\"vertical-align: top;\"><option value=\"~\">contains</option>\n<option value=\"!~\">doesn't contain</option></select>\n </td>\n <td> \n <div id=\"div_values_subject\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_subject\" name=\"values[subject][]\" size=\"30\" type=\"text\" />\n \n </div>\n <script type=\"text/javascript\">toggle_filter('subject');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_created_on\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_created_on\" name=\"fields[]\" onclick=\"toggle_filter('created_on');\" type=\"checkbox\" value=\"created_on\" />\n <label for=\"cb_created_on\">Created</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_created_on\" name=\"operators[created_on]\" onchange=\"toggle_operator('created_on');\" style=\"vertical-align: top;\"><option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option></select>\n </td>\n <td> \n <div id=\"div_values_created_on\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_created_on\" name=\"values[created_on][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('created_on');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_updated_on\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_updated_on\" name=\"fields[]\" onclick=\"toggle_filter('updated_on');\" type=\"checkbox\" value=\"updated_on\" />\n <label for=\"cb_updated_on\">Updated</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_updated_on\" name=\"operators[updated_on]\" onchange=\"toggle_operator('updated_on');\" style=\"vertical-align: top;\"><option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option></select>\n </td>\n <td> \n <div id=\"div_values_updated_on\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_updated_on\" name=\"values[updated_on][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('updated_on');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_start_date\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_start_date\" name=\"fields[]\" onclick=\"toggle_filter('start_date');\" type=\"checkbox\" value=\"start_date\" />\n <label for=\"cb_start_date\">Start</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_start_date\" name=\"operators[start_date]\" onchange=\"toggle_operator('start_date');\" style=\"vertical-align: top;\"><option value=\"<t+\">in less than</option>\n<option value=\">t+\">in more than</option>\n<option value=\"t+\">in</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option>\n<option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option></select>\n </td>\n <td> \n <div id=\"div_values_start_date\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_start_date\" name=\"values[start_date][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('start_date');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_due_date\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_due_date\" name=\"fields[]\" onclick=\"toggle_filter('due_date');\" type=\"checkbox\" value=\"due_date\" />\n <label for=\"cb_due_date\">Due date</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_due_date\" name=\"operators[due_date]\" onchange=\"toggle_operator('due_date');\" style=\"vertical-align: top;\"><option value=\"<t+\">in less than</option>\n<option value=\">t+\">in more than</option>\n<option value=\"t+\">in</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option>\n<option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option></select>\n </td>\n <td> \n <div id=\"div_values_due_date\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_due_date\" name=\"values[due_date][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('due_date');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_estimated_hours\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_estimated_hours\" name=\"fields[]\" onclick=\"toggle_filter('estimated_hours');\" type=\"checkbox\" value=\"estimated_hours\" />\n <label for=\"cb_estimated_hours\">Estimated time</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_estimated_hours\" name=\"operators[estimated_hours]\" onchange=\"toggle_operator('estimated_hours');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\">=\">>=</option>\n<option value=\"<=\"><=</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_estimated_hours\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_estimated_hours\" name=\"values[estimated_hours][]\" size=\"3\" type=\"text\" />\n \n </div>\n <script type=\"text/javascript\">toggle_filter('estimated_hours');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_done_ratio\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_done_ratio\" name=\"fields[]\" onclick=\"toggle_filter('done_ratio');\" type=\"checkbox\" value=\"done_ratio\" />\n <label for=\"cb_done_ratio\">% Done</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_done_ratio\" name=\"operators[done_ratio]\" onchange=\"toggle_operator('done_ratio');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\">=\">>=</option>\n<option value=\"<=\"><=</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_done_ratio\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_done_ratio\" name=\"values[done_ratio][]\" size=\"3\" type=\"text\" />\n \n </div>\n <script type=\"text/javascript\">toggle_filter('done_ratio');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_cf_1\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_cf_1\" name=\"fields[]\" onclick=\"toggle_filter('cf_1');\" type=\"checkbox\" value=\"cf_1\" />\n <label for=\"cb_cf_1\">Database</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_cf_1\" name=\"operators[cf_1]\" onchange=\"toggle_operator('cf_1');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_cf_1\" style=\"display:none;\">\n \n <select name=\"values[cf_1][]\" id=\"values_cf_1\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"MySQL\">MySQL</option>\n<option value=\"PostgreSQL\">PostgreSQL</option>\n<option value=\"Oracle\">Oracle</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('cf_1');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('cf_1');</script>\n </td>\n </tr>\n\n</table>\n</td>\n<td class=\"add-filter\">\nAdd filter:\n<select class=\"select-small\" id=\"add_filter_select\" onchange=\"add_filter();\"><option value=\"\"></option>\n<option value=\"tracker_id\">Tracker</option>\n<option value=\"priority_id\">Priority</option>\n<option value=\"subject\">Subject</option>\n<option value=\"created_on\">Created</option>\n<option value=\"updated_on\">Updated</option>\n<option value=\"start_date\">Start</option>\n<option value=\"due_date\">Due date</option>\n<option value=\"estimated_hours\">Estimated time</option>\n<option value=\"done_ratio\">% Done</option>\n<option value=\"cf_1\">Database</option></select>\n</td>\n</tr>\n</table>\n\n \t</div>\n </fieldset>\n <fieldset class=\"collapsible collapsed\">\n \t<legend onclick=\"toggleFieldset(this);\">Options</legend>\n \t<div style=\"display: none;\">\n \t\t<table>\n \t\t\t<tr>\n \t\t\t\t<td>Columns</td>\n\t\t\t\t\t\t<td><table style=\"border-collapse: collapse; border:0;\">\n\t<tr>\n\t\t<td style=\"padding-left:0\"><select id=\"available_columns\" multiple=\"multiple\" name=\"available_columns[]\" size=\"10\" style=\"width:150px\"><option value=\"author\">Author</option>\n<option value=\"category\">Category</option>\n<option value=\"fixed_version\">Target version</option>\n<option value=\"start_date\">Start</option>\n<option value=\"due_date\">Due date</option>\n<option value=\"estimated_hours\">Estimated time</option>\n<option value=\"done_ratio\">% Done</option>\n<option value=\"created_on\">Created</option>\n<option value=\"cf_1\">Database</option>\n<option value=\"cf_2\">Searchable field</option>\n<option value=\"cf_6\">Float field</option>\n<option value=\"cf_8\">Custom date</option>\n<option value=\"cf_9\">Project 1 cf</option></select>\n\t\t</td>\n\t\t<td align=\"center\" valign=\"middle\">\n\t\t\t<input type=\"button\" value=\"→\"\n\t\t\t onclick=\"moveOptions(this.form.available_columns, this.form.selected_columns);\" /><br />\n\t\t\t<input type=\"button\" value=\"←\"\n\t\t\t onclick=\"moveOptions(this.form.selected_columns, this.form.available_columns);\" />\n\t\t</td>\n\t\t<td><select id=\"selected_columns\" multiple=\"multiple\" name=\"query[column_names][]\" size=\"10\" style=\"width:150px\"><option value=\"project\">Project</option>\n<option value=\"tracker\">Tracker</option>\n<option value=\"status\">Status</option>\n<option value=\"priority\">Priority</option>\n<option value=\"subject\">Subject</option>\n<option value=\"assigned_to\">Assigned to</option>\n<option value=\"updated_on\">Updated</option></select>\n\t\t</td>\n\t\t<td align=\"center\" valign=\"middle\">\n\t\t\t<input type=\"button\" value=\"↑\" onclick=\"moveOptionUp(this.form.selected_columns);\" /><br />\n\t\t\t<input type=\"button\" value=\"↓\" onclick=\"moveOptionDown(this.form.selected_columns);\" />\n\t\t</td>\n\t</tr>\n</table>\n\n\n</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>Group results by</td>\n\t\t\t\t\t\t<td><select id=\"group_by\" name=\"group_by\"><option value=\"\" selected=\"selected\"></option>\n<option value=\"project\">Project</option>\n<option value=\"tracker\">Tracker</option>\n<option value=\"status\">Status</option>\n<option value=\"priority\">Priority</option>\n<option value=\"assigned_to\">Assigned to</option>\n<option value=\"category\">Category</option>\n<option value=\"fixed_version\">Target version</option>\n<option value=\"done_ratio\">% Done</option>\n<option value=\"cf_1\">Database</option>\n<option value=\"cf_8\">Custom date</option>\n<option value=\"cf_9\">Project 1 cf</option></select></td>\n\t\t\t\t\t</tr>\n\t\t\t\t</table>\n\t\t\t</div>\n\t\t</fieldset>\n\t\t</div>\n <p class=\"buttons\">\n\n <a class=\"icon icon-checked\" href=\"#\" onclick=\"selectAllOptions("selected_columns");; new Ajax.Updater('content', '/issues?set_filter=1', {asynchronous:true, evalScripts:true, parameters:Form.serialize('query_form')}); return false;\">Apply</a>\n \n <a class=\"icon icon-reload\" href=\"#\" onclick=\"new Ajax.Updater('content', '/issues?set_filter=1', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Clear</a>\n \n \n </p>\n</form>\n\n\n\n\n<p class=\"nodata\">No data to display</p>\n\n\n<p class=\"other-formats\">Also available in:\n\t<span><a href=\"/issues.atom\" class=\"atom\" rel=\"nofollow\">Atom</a></span>\n\t<span><a href=\"/issues.csv\" class=\"csv\" rel=\"nofollow\">CSV</a></span>\n\t<span><a href=\"/issues.pdf\" class=\"pdf\" rel=\"nofollow\">PDF</a></span>\n</p>\n\n\n\n\n\n\n\n<div id=\"context-menu\" style=\"display: none;\"></div>\n<script type=\"text/javascript\">\n//<![CDATA[\nnew ContextMenu('/issues/context_menu')\n//]]>\n</script>\n\n \n\t\t\t\t<div style=\"clear:both;\"></div>\n </div>\n</div>\n\n<div id=\"ajax-indicator\" style=\"display:none;\"><span>Loading...</span></div>\n\t\n<div id=\"footer\">\n Powered by <a href=\"http://www.redmine.org/\">Redmine</a> © 2006-2010 Jean-Philippe Lang\n</div>\n</div>\n\n</body>\n</html>\n".
|
93
|
<nil> is not true.
|
94
|
|
95
|
4) Failure:
|
96
|
test_index_with_project(IssuesControllerTest) [/test/functional/issues_controller_test.rb:122]:
|
97
|
expected tag, but no tag found matching {:content=>/Can't print recipes/, :tag=>"a"} in:
|
98
|
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\n<head>\n<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n<title>eCookbook - Issues - Redmine</title>\n<meta name=\"description\" content=\"Redmine\" />\n<meta name=\"keywords\" content=\"issue,bug,tracker\" />\n<link href=\"/stylesheets/application.css?1272655310\" media=\"all\" rel=\"stylesheet\" type=\"text/css\" />\n<script src=\"/javascripts/prototype.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/effects.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/dragdrop.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/controls.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/application.js?1272655310\" type=\"text/javascript\"></script>\n<link href=\"/stylesheets/jstoolbar.css?1233572194\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n<!--[if IE]>\n <style type=\"text/css\">\n * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); }\n body {behavior: url(/stylesheets/csshover.htc?1221815008);}\n </style>\n<![endif]-->\n\n<!-- page specific tags -->\n\n<script src=\"/javascripts/select_list_move.js?1272655310\" type=\"text/javascript\"></script>\n\n <link href=\"http://test.host/projects/1/issues.atom?query_id=\" rel=\"alternate\" title=\"Issues\" type=\"application/atom+xml\" />\n <link href=\"http://test.host/issues/changes?format=atom&query_id=\" rel=\"alternate\" title=\"Details of all changes\" type=\"application/atom+xml\" />\n <script src=\"/javascripts/context_menu.js?1272655310\" type=\"text/javascript\"></script>\n <link href=\"/stylesheets/context_menu.css?1233572194\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n</head>\n<body>\n<div id=\"wrapper\">\n<div id=\"top-menu\">\n <div id=\"account\">\n <ul><li><a href=\"/login\" class=\"login\">Sign in</a></li>\n<li><a href=\"/account/register\" class=\"register\">Register</a></li></ul> </div>\n \n <ul><li><a href=\"/\" class=\"home\">Home</a></li>\n<li><a href=\"/projects\" class=\"projects\">Projects</a></li>\n<li><a href=\"http://www.redmine.org/guide\" class=\"help\">Help</a></li></ul></div>\n \n<div id=\"header\">\n <div id=\"quick-search\">\n <form action=\"/search/index/ecookbook\" method=\"get\">\n <input name=\"issues\" type=\"hidden\" value=\"1\" />\n <a href=\"/search/index/ecookbook\" accesskey=\"4\">Search</a>:\n <input accesskey=\"f\" class=\"small\" id=\"q\" name=\"q\" size=\"20\" type=\"text\" />\n </form>\n \n </div>\n \n <h1>eCookbook</h1>\n \n \n <div id=\"main-menu\">\n <ul><li><a href=\"/projects/ecookbook\" class=\"overview\">Overview</a></li>\n<li><a href=\"/projects/ecookbook/activity\" class=\"activity\">Activity</a></li>\n<li><a href=\"/projects/ecookbook/roadmap\" class=\"roadmap\">Roadmap</a></li>\n<li><a href=\"/projects/ecookbook/issues\" class=\"issues selected\">Issues</a></li>\n<li><a href=\"/projects/ecookbook/news\" class=\"news\">News</a></li>\n<li><a href=\"/projects/ecookbook/documents\" class=\"documents\">Documents</a></li>\n<li><a href=\"/projects/ecookbook/wiki\" class=\"wiki\">Wiki</a></li>\n<li><a href=\"/projects/ecookbook/boards\" class=\"boards\">Forums</a></li>\n<li><a href=\"/projects/ecookbook/files\" class=\"files\">Files</a></li>\n<li><a href=\"/projects/ecookbook/repository\" class=\"repository\">Repository</a></li></ul>\n </div>\n \n</div>\n\n<div class=\"\" id=\"main\">\n <div id=\"sidebar\"> \n \n <h3>Issues</h3>\n<a href=\"/projects/ecookbook/issues?set_filter=1\">View all issues</a><br />\n\n<a href=\"/projects/ecookbook/issues/report\">Summary</a><br />\n\n\n\n\n\t<a href=\"/projects/ecookbook/issues/calendar\">Calendar</a><br />\n\n\n\t<a href=\"/projects/ecookbook/issues/gantt\">Gantt</a><br />\n\n\n\n<h3>Custom queries</h3>\n\n<a href=\"/projects/ecookbook/issues?query_id=1\">Multiple custom fields query</a><br />\n<a href=\"/projects/ecookbook/issues?query_id=5\">Open issues by priority and tracker</a><br />\n<a href=\"/projects/ecookbook/issues?query_id=9\">Open issues grouped by list custom field</a><br />\n<a href=\"/projects/ecookbook/issues?query_id=6\">Open issues grouped by tracker</a><br />\n<a href=\"/projects/ecookbook/issues?query_id=4\">Public query for all projects</a><br />\n\n\n\n \n </div>\n \n <div id=\"content\">\n\t\t\t\t\n <div class=\"contextual\">\n\n</div>\n\n<h2>Issues</h2>\n\n\n<form action=\"/queries/new\" id=\"query_form\" method=\"post\">\n <input id=\"project_id\" name=\"project_id\" type=\"hidden\" value=\"ecookbook\" />\n\t\t<div id=\"query_form_content\">\n <fieldset id=\"filters\" class=\"collapsible \">\n \t<legend onclick=\"toggleFieldset(this);\">Filters</legend>\n \t<div style=\"\">\n \t\t<script type=\"text/javascript\">\n//<![CDATA[\nfunction add_filter() {\n select = $('add_filter_select');\n field = select.value\n Element.show('tr_' + field);\n check_box = $('cb_' + field);\n check_box.checked = true;\n toggle_filter(field);\n select.selectedIndex = 0;\n \n for (i=0; i<select.options.length; i++) {\n if (select.options[i].value == field) {\n select.options[i].disabled = true;\n } \n }\n}\n\nfunction toggle_filter(field) {\n check_box = $('cb_' + field);\n \n if (check_box.checked) {\n Element.show(\"operators_\" + field);\n toggle_operator(field);\n } else {\n Element.hide(\"operators_\" + field);\n Element.hide(\"div_values_\" + field);\n }\n}\n\nfunction toggle_operator(field) {\n operator = $(\"operators_\" + field);\n switch (operator.value) {\n case \"!*\":\n case \"*\":\n case \"t\":\n case \"w\":\n case \"o\":\n case \"c\":\n Element.hide(\"div_values_\" + field);\n break;\n default:\n Element.show(\"div_values_\" + field);\n break;\n }\n}\n\nfunction toggle_multi_select(field) {\n select = $('values_' + field);\n if (select.multiple == true) {\n select.multiple = false;\n } else {\n select.multiple = true;\n }\n}\n//]]>\n</script>\n\n<table width=\"100%\">\n<tr>\n<td>\n<table>\n\n \n <tr id=\"tr_status_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input checked=\"checked\" id=\"cb_status_id\" name=\"fields[]\" onclick=\"toggle_filter('status_id');\" type=\"checkbox\" value=\"status_id\" />\n <label for=\"cb_status_id\">Status</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_status_id\" name=\"operators[status_id]\" onchange=\"toggle_operator('status_id');\" style=\"vertical-align: top;\"><option value=\"o\" selected=\"selected\">open</option>\n<option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"c\">closed</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_status_id\" style=\"display:none;\">\n \n <select name=\"values[status_id][]\" id=\"values_status_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"1\">New</option>\n<option value=\"2\">Assigned</option>\n<option value=\"3\">Resolved</option>\n<option value=\"4\">Feedback</option>\n<option value=\"5\">Closed</option>\n<option value=\"6\">Rejected</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('status_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('status_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_tracker_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_tracker_id\" name=\"fields[]\" onclick=\"toggle_filter('tracker_id');\" type=\"checkbox\" value=\"tracker_id\" />\n <label for=\"cb_tracker_id\">Tracker</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_tracker_id\" name=\"operators[tracker_id]\" onchange=\"toggle_operator('tracker_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option></select>\n </td>\n <td> \n <div id=\"div_values_tracker_id\" style=\"display:none;\">\n \n <select name=\"values[tracker_id][]\" id=\"values_tracker_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"1\">Bug</option>\n<option value=\"2\">Feature request</option>\n<option value=\"3\">Support request</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('tracker_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('tracker_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_priority_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_priority_id\" name=\"fields[]\" onclick=\"toggle_filter('priority_id');\" type=\"checkbox\" value=\"priority_id\" />\n <label for=\"cb_priority_id\">Priority</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_priority_id\" name=\"operators[priority_id]\" onchange=\"toggle_operator('priority_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option></select>\n </td>\n <td> \n <div id=\"div_values_priority_id\" style=\"display:none;\">\n \n <select name=\"values[priority_id][]\" id=\"values_priority_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"4\">Low</option>\n<option value=\"5\">Normal</option>\n<option value=\"6\">High</option>\n<option value=\"7\">Urgent</option>\n<option value=\"8\">Immediate</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('priority_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('priority_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_assigned_to_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_assigned_to_id\" name=\"fields[]\" onclick=\"toggle_filter('assigned_to_id');\" type=\"checkbox\" value=\"assigned_to_id\" />\n <label for=\"cb_assigned_to_id\">Assigned to</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_assigned_to_id\" name=\"operators[assigned_to_id]\" onchange=\"toggle_operator('assigned_to_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_assigned_to_id\" style=\"display:none;\">\n \n <select name=\"values[assigned_to_id][]\" id=\"values_assigned_to_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"3\">Dave Lopper</option>\n<option value=\"2\">John Smith</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('assigned_to_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('assigned_to_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_author_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_author_id\" name=\"fields[]\" onclick=\"toggle_filter('author_id');\" type=\"checkbox\" value=\"author_id\" />\n <label for=\"cb_author_id\">Author</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_author_id\" name=\"operators[author_id]\" onchange=\"toggle_operator('author_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option></select>\n </td>\n <td> \n <div id=\"div_values_author_id\" style=\"display:none;\">\n \n <select name=\"values[author_id][]\" id=\"values_author_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"3\">Dave Lopper</option>\n<option value=\"2\">John Smith</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('author_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('author_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_category_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_category_id\" name=\"fields[]\" onclick=\"toggle_filter('category_id');\" type=\"checkbox\" value=\"category_id\" />\n <label for=\"cb_category_id\">Category</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_category_id\" name=\"operators[category_id]\" onchange=\"toggle_operator('category_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_category_id\" style=\"display:none;\">\n \n <select name=\"values[category_id][]\" id=\"values_category_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"1\">Printing</option>\n<option value=\"2\">Recipes</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('category_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('category_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_fixed_version_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_fixed_version_id\" name=\"fields[]\" onclick=\"toggle_filter('fixed_version_id');\" type=\"checkbox\" value=\"fixed_version_id\" />\n <label for=\"cb_fixed_version_id\">Target version</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_fixed_version_id\" name=\"operators[fixed_version_id]\" onchange=\"toggle_operator('fixed_version_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_fixed_version_id\" style=\"display:none;\">\n \n <select name=\"values[fixed_version_id][]\" id=\"values_fixed_version_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"1\">eCookbook - 0.1</option>\n<option value=\"2\">eCookbook - 1.0</option>\n<option value=\"3\">eCookbook - 2.0</option>\n<option value=\"4\">eCookbook Subproject 1 - 2.0</option>\n<option value=\"6\">Private child of eCookbook - Private Version of public subproject</option>\n<option value=\"7\">OnlineStore - Systemwide visible version</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('fixed_version_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('fixed_version_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_subject\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_subject\" name=\"fields[]\" onclick=\"toggle_filter('subject');\" type=\"checkbox\" value=\"subject\" />\n <label for=\"cb_subject\">Subject</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_subject\" name=\"operators[subject]\" onchange=\"toggle_operator('subject');\" style=\"vertical-align: top;\"><option value=\"~\">contains</option>\n<option value=\"!~\">doesn't contain</option></select>\n </td>\n <td> \n <div id=\"div_values_subject\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_subject\" name=\"values[subject][]\" size=\"30\" type=\"text\" />\n \n </div>\n <script type=\"text/javascript\">toggle_filter('subject');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_created_on\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_created_on\" name=\"fields[]\" onclick=\"toggle_filter('created_on');\" type=\"checkbox\" value=\"created_on\" />\n <label for=\"cb_created_on\">Created</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_created_on\" name=\"operators[created_on]\" onchange=\"toggle_operator('created_on');\" style=\"vertical-align: top;\"><option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option></select>\n </td>\n <td> \n <div id=\"div_values_created_on\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_created_on\" name=\"values[created_on][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('created_on');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_updated_on\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_updated_on\" name=\"fields[]\" onclick=\"toggle_filter('updated_on');\" type=\"checkbox\" value=\"updated_on\" />\n <label for=\"cb_updated_on\">Updated</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_updated_on\" name=\"operators[updated_on]\" onchange=\"toggle_operator('updated_on');\" style=\"vertical-align: top;\"><option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option></select>\n </td>\n <td> \n <div id=\"div_values_updated_on\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_updated_on\" name=\"values[updated_on][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('updated_on');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_start_date\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_start_date\" name=\"fields[]\" onclick=\"toggle_filter('start_date');\" type=\"checkbox\" value=\"start_date\" />\n <label for=\"cb_start_date\">Start</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_start_date\" name=\"operators[start_date]\" onchange=\"toggle_operator('start_date');\" style=\"vertical-align: top;\"><option value=\"<t+\">in less than</option>\n<option value=\">t+\">in more than</option>\n<option value=\"t+\">in</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option>\n<option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option></select>\n </td>\n <td> \n <div id=\"div_values_start_date\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_start_date\" name=\"values[start_date][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('start_date');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_due_date\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_due_date\" name=\"fields[]\" onclick=\"toggle_filter('due_date');\" type=\"checkbox\" value=\"due_date\" />\n <label for=\"cb_due_date\">Due date</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_due_date\" name=\"operators[due_date]\" onchange=\"toggle_operator('due_date');\" style=\"vertical-align: top;\"><option value=\"<t+\">in less than</option>\n<option value=\">t+\">in more than</option>\n<option value=\"t+\">in</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option>\n<option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option></select>\n </td>\n <td> \n <div id=\"div_values_due_date\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_due_date\" name=\"values[due_date][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('due_date');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_estimated_hours\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_estimated_hours\" name=\"fields[]\" onclick=\"toggle_filter('estimated_hours');\" type=\"checkbox\" value=\"estimated_hours\" />\n <label for=\"cb_estimated_hours\">Estimated time</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_estimated_hours\" name=\"operators[estimated_hours]\" onchange=\"toggle_operator('estimated_hours');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\">=\">>=</option>\n<option value=\"<=\"><=</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_estimated_hours\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_estimated_hours\" name=\"values[estimated_hours][]\" size=\"3\" type=\"text\" />\n \n </div>\n <script type=\"text/javascript\">toggle_filter('estimated_hours');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_subproject_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_subproject_id\" name=\"fields[]\" onclick=\"toggle_filter('subproject_id');\" type=\"checkbox\" value=\"subproject_id\" />\n <label for=\"cb_subproject_id\">Subproject</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_subproject_id\" name=\"operators[subproject_id]\" onchange=\"toggle_operator('subproject_id');\" style=\"vertical-align: top;\"><option value=\"*\">all</option>\n<option value=\"!*\">none</option>\n<option value=\"=\">is</option></select>\n </td>\n <td> \n <div id=\"div_values_subproject_id\" style=\"display:none;\">\n \n <select name=\"values[subproject_id][]\" id=\"values_subproject_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"6\">Child of private child</option>\n<option value=\"3\">eCookbook Subproject 1</option>\n<option value=\"4\">eCookbook Subproject 2</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('subproject_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('subproject_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_done_ratio\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_done_ratio\" name=\"fields[]\" onclick=\"toggle_filter('done_ratio');\" type=\"checkbox\" value=\"done_ratio\" />\n <label for=\"cb_done_ratio\">% Done</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_done_ratio\" name=\"operators[done_ratio]\" onchange=\"toggle_operator('done_ratio');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\">=\">>=</option>\n<option value=\"<=\"><=</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_done_ratio\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_done_ratio\" name=\"values[done_ratio][]\" size=\"3\" type=\"text\" />\n \n </div>\n <script type=\"text/javascript\">toggle_filter('done_ratio');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_cf_9\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_cf_9\" name=\"fields[]\" onclick=\"toggle_filter('cf_9');\" type=\"checkbox\" value=\"cf_9\" />\n <label for=\"cb_cf_9\">Project 1 cf</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_cf_9\" name=\"operators[cf_9]\" onchange=\"toggle_operator('cf_9');\" style=\"vertical-align: top;\"><option value=\"<t+\">in less than</option>\n<option value=\">t+\">in more than</option>\n<option value=\"t+\">in</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option>\n<option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option></select>\n </td>\n <td> \n <div id=\"div_values_cf_9\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_cf_9\" name=\"values[cf_9][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('cf_9');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_cf_1\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_cf_1\" name=\"fields[]\" onclick=\"toggle_filter('cf_1');\" type=\"checkbox\" value=\"cf_1\" />\n <label for=\"cb_cf_1\">Database</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_cf_1\" name=\"operators[cf_1]\" onchange=\"toggle_operator('cf_1');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_cf_1\" style=\"display:none;\">\n \n <select name=\"values[cf_1][]\" id=\"values_cf_1\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"MySQL\">MySQL</option>\n<option value=\"PostgreSQL\">PostgreSQL</option>\n<option value=\"Oracle\">Oracle</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('cf_1');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('cf_1');</script>\n </td>\n </tr>\n\n</table>\n</td>\n<td class=\"add-filter\">\nAdd filter:\n<select class=\"select-small\" id=\"add_filter_select\" onchange=\"add_filter();\"><option value=\"\"></option>\n<option value=\"tracker_id\">Tracker</option>\n<option value=\"priority_id\">Priority</option>\n<option value=\"assigned_to_id\">Assigned to</option>\n<option value=\"author_id\">Author</option>\n<option value=\"category_id\">Category</option>\n<option value=\"fixed_version_id\">Target version</option>\n<option value=\"subject\">Subject</option>\n<option value=\"created_on\">Created</option>\n<option value=\"updated_on\">Updated</option>\n<option value=\"start_date\">Start</option>\n<option value=\"due_date\">Due date</option>\n<option value=\"estimated_hours\">Estimated time</option>\n<option value=\"subproject_id\">Subproject</option>\n<option value=\"done_ratio\">% Done</option>\n<option value=\"cf_9\">Project 1 cf</option>\n<option value=\"cf_1\">Database</option></select>\n</td>\n</tr>\n</table>\n\n \t</div>\n </fieldset>\n <fieldset class=\"collapsible collapsed\">\n \t<legend onclick=\"toggleFieldset(this);\">Options</legend>\n \t<div style=\"display: none;\">\n \t\t<table>\n \t\t\t<tr>\n \t\t\t\t<td>Columns</td>\n\t\t\t\t\t\t<td><table style=\"border-collapse: collapse; border:0;\">\n\t<tr>\n\t\t<td style=\"padding-left:0\"><select id=\"available_columns\" multiple=\"multiple\" name=\"available_columns[]\" size=\"10\" style=\"width:150px\"><option value=\"project\">Project</option>\n<option value=\"tracker\">Tracker</option>\n<option value=\"status\">Status</option>\n<option value=\"priority\">Priority</option>\n<option value=\"assigned_to\">Assigned to</option>\n<option value=\"updated_on\">Updated</option>\n<option value=\"category\">Category</option>\n<option value=\"fixed_version\">Target version</option>\n<option value=\"start_date\">Start</option>\n<option value=\"due_date\">Due date</option>\n<option value=\"estimated_hours\">Estimated time</option>\n<option value=\"done_ratio\">% Done</option>\n<option value=\"created_on\">Created</option>\n<option value=\"cf_1\">Database</option>\n<option value=\"cf_2\">Searchable field</option>\n<option value=\"cf_6\">Float field</option>\n<option value=\"cf_8\">Custom date</option>\n<option value=\"cf_9\">Project 1 cf</option></select>\n\t\t</td>\n\t\t<td align=\"center\" valign=\"middle\">\n\t\t\t<input type=\"button\" value=\"→\"\n\t\t\t onclick=\"moveOptions(this.form.available_columns, this.form.selected_columns);\" /><br />\n\t\t\t<input type=\"button\" value=\"←\"\n\t\t\t onclick=\"moveOptions(this.form.selected_columns, this.form.available_columns);\" />\n\t\t</td>\n\t\t<td><select id=\"selected_columns\" multiple=\"multiple\" name=\"query[column_names][]\" size=\"10\" style=\"width:150px\"><option value=\"subject\">Subject</option>\n<option value=\"author\">Author</option></select>\n\t\t</td>\n\t\t<td align=\"center\" valign=\"middle\">\n\t\t\t<input type=\"button\" value=\"↑\" onclick=\"moveOptionUp(this.form.selected_columns);\" /><br />\n\t\t\t<input type=\"button\" value=\"↓\" onclick=\"moveOptionDown(this.form.selected_columns);\" />\n\t\t</td>\n\t</tr>\n</table>\n\n\n</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>Group results by</td>\n\t\t\t\t\t\t<td><select id=\"group_by\" name=\"group_by\"><option value=\"\" selected=\"selected\"></option>\n<option value=\"project\">Project</option>\n<option value=\"tracker\">Tracker</option>\n<option value=\"status\">Status</option>\n<option value=\"priority\">Priority</option>\n<option value=\"assigned_to\">Assigned to</option>\n<option value=\"category\">Category</option>\n<option value=\"fixed_version\">Target version</option>\n<option value=\"done_ratio\">% Done</option>\n<option value=\"cf_1\">Database</option>\n<option value=\"cf_8\">Custom date</option>\n<option value=\"cf_9\">Project 1 cf</option></select></td>\n\t\t\t\t\t</tr>\n\t\t\t\t</table>\n\t\t\t</div>\n\t\t</fieldset>\n\t\t</div>\n <p class=\"buttons\">\n\n <a class=\"icon icon-checked\" href=\"#\" onclick=\"selectAllOptions("selected_columns");; new Ajax.Updater('content', '/issues?set_filter=1', {asynchronous:true, evalScripts:true, parameters:Form.serialize('query_form')}); return false;\">Apply</a>\n \n <a class=\"icon icon-reload\" href=\"#\" onclick=\"new Ajax.Updater('content', '/projects/ecookbook/issues?set_filter=1', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Clear</a>\n \n \n </p>\n</form>\n\n\n\n\n<form action=\"/issues\" method=\"post\">\t\n<input id=\"back_url\" name=\"back_url\" type=\"hidden\" value=\"/projects/1/issues\" />\n<div class=\"autoscroll\">\n<table class=\"list issues\">\n <thead><tr>\n <th><a href=\"/issues\" onclick=\"toggleIssuesSelection(Element.up(this, "form")); return false;\" title=\"Check all/Uncheck all\"><img alt=\"Toggle_check\" src=\"/images/toggle_check.png?1221815043\" /></a>\n </th>\n\t\t<th title=\"Sort by "#"\"><a class=\"sort desc\" href=\"/projects/1/issues?sort=id\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?sort=id', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">#</a></th>\n \n <th title=\"Sort by "Subject"\"><a href=\"/projects/1/issues?sort=subject%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?sort=subject%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Subject</a></th>\n \n <th>Author</th>\n \n\t</tr></thead>\n\t\n\t<tbody>\n\t \n\t<tr id=\"issue-3\" class=\"hascontextmenu odd issue status-1 priority-1 overdue\">\n\t <td class=\"checkbox\"><input name=\"ids[]\" type=\"checkbox\" value=\"3\" /></td>\n\t\t<td class=\"id\"><a href=\"/issues/3\">3</a></td>\n <td class=\"subject\"><a href=\"/issues/3\">Error 281 when updating a recipe</a></td><td class=\"author\"><a href=\"/users/2\">John Smith</a></td>\n\t</tr>\n\t \n\t<tr id=\"issue-2\" class=\"hascontextmenu even issue status-1 priority-1\">\n\t <td class=\"checkbox\"><input name=\"ids[]\" type=\"checkbox\" value=\"2\" /></td>\n\t\t<td class=\"id\"><a href=\"/issues/2\">2</a></td>\n <td class=\"subject\"><a href=\"/issues/2\">Add ingredients categories</a></td><td class=\"author\"><a href=\"/users/2\">John Smith</a></td>\n\t</tr>\n\t\t</tbody>\n</table>\n</div>\n</form>\n<p class=\"pagination\"> (1-4/4) | Per page: 25, <a href=\"/projects/1/issues?per_page=50\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?per_page=50', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">50</a>, <a href=\"/projects/1/issues?per_page=100\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?per_page=100', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">100</a></p>\n\n\n<p class=\"other-formats\">Also available in:\n\t<span><a href=\"/projects/ecookbook/issues.atom\" class=\"atom\" rel=\"nofollow\">Atom</a></span>\n\t<span><a href=\"/projects/ecookbook/issues.csv\" class=\"csv\" rel=\"nofollow\">CSV</a></span>\n\t<span><a href=\"/projects/ecookbook/issues.pdf\" class=\"pdf\" rel=\"nofollow\">PDF</a></span>\n</p>\n\n\n\n\n\n\n\n<div id=\"context-menu\" style=\"display: none;\"></div>\n<script type=\"text/javascript\">\n//<![CDATA[\nnew ContextMenu('/issues/context_menu')\n//]]>\n</script>\n\n \n\t\t\t\t<div style=\"clear:both;\"></div>\n </div>\n</div>\n\n<div id=\"ajax-indicator\" style=\"display:none;\"><span>Loading...</span></div>\n\t\n<div id=\"footer\">\n Powered by <a href=\"http://www.redmine.org/\">Redmine</a> © 2006-2010 Jean-Philippe Lang\n</div>\n</div>\n\n</body>\n</html>\n".
|
99
|
<nil> is not true.
|
100
|
|
101
|
5) Failure:
|
102
|
test_index_with_project_and_subprojects(IssuesControllerTest) [/test/functional/issues_controller_test.rb:132]:
|
103
|
expected tag, but no tag found matching {:content=>/Can't print recipes/, :tag=>"a"} in:
|
104
|
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\n<head>\n<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n<title>eCookbook - Issues - Redmine</title>\n<meta name=\"description\" content=\"Redmine\" />\n<meta name=\"keywords\" content=\"issue,bug,tracker\" />\n<link href=\"/stylesheets/application.css?1272655310\" media=\"all\" rel=\"stylesheet\" type=\"text/css\" />\n<script src=\"/javascripts/prototype.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/effects.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/dragdrop.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/controls.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/application.js?1272655310\" type=\"text/javascript\"></script>\n<link href=\"/stylesheets/jstoolbar.css?1233572194\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n<!--[if IE]>\n <style type=\"text/css\">\n * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); }\n body {behavior: url(/stylesheets/csshover.htc?1221815008);}\n </style>\n<![endif]-->\n\n<!-- page specific tags -->\n\n<script src=\"/javascripts/select_list_move.js?1272655310\" type=\"text/javascript\"></script>\n\n <link href=\"http://test.host/projects/1/issues.atom?query_id=\" rel=\"alternate\" title=\"Issues\" type=\"application/atom+xml\" />\n <link href=\"http://test.host/issues/changes?format=atom&query_id=\" rel=\"alternate\" title=\"Details of all changes\" type=\"application/atom+xml\" />\n <script src=\"/javascripts/context_menu.js?1272655310\" type=\"text/javascript\"></script>\n <link href=\"/stylesheets/context_menu.css?1233572194\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n</head>\n<body>\n<div id=\"wrapper\">\n<div id=\"top-menu\">\n <div id=\"account\">\n <ul><li><a href=\"/login\" class=\"login\">Sign in</a></li>\n<li><a href=\"/account/register\" class=\"register\">Register</a></li></ul> </div>\n \n <ul><li><a href=\"/\" class=\"home\">Home</a></li>\n<li><a href=\"/projects\" class=\"projects\">Projects</a></li>\n<li><a href=\"http://www.redmine.org/guide\" class=\"help\">Help</a></li></ul></div>\n \n<div id=\"header\">\n <div id=\"quick-search\">\n <form action=\"/search/index/ecookbook\" method=\"get\">\n <input name=\"issues\" type=\"hidden\" value=\"1\" />\n <a href=\"/search/index/ecookbook\" accesskey=\"4\">Search</a>:\n <input accesskey=\"f\" class=\"small\" id=\"q\" name=\"q\" size=\"20\" type=\"text\" />\n </form>\n \n </div>\n \n <h1>eCookbook</h1>\n \n \n <div id=\"main-menu\">\n <ul><li><a href=\"/projects/ecookbook\" class=\"overview\">Overview</a></li>\n<li><a href=\"/projects/ecookbook/activity\" class=\"activity\">Activity</a></li>\n<li><a href=\"/projects/ecookbook/roadmap\" class=\"roadmap\">Roadmap</a></li>\n<li><a href=\"/projects/ecookbook/issues\" class=\"issues selected\">Issues</a></li>\n<li><a href=\"/projects/ecookbook/news\" class=\"news\">News</a></li>\n<li><a href=\"/projects/ecookbook/documents\" class=\"documents\">Documents</a></li>\n<li><a href=\"/projects/ecookbook/wiki\" class=\"wiki\">Wiki</a></li>\n<li><a href=\"/projects/ecookbook/boards\" class=\"boards\">Forums</a></li>\n<li><a href=\"/projects/ecookbook/files\" class=\"files\">Files</a></li>\n<li><a href=\"/projects/ecookbook/repository\" class=\"repository\">Repository</a></li></ul>\n </div>\n \n</div>\n\n<div class=\"\" id=\"main\">\n <div id=\"sidebar\"> \n \n <h3>Issues</h3>\n<a href=\"/projects/ecookbook/issues?set_filter=1\">View all issues</a><br />\n\n<a href=\"/projects/ecookbook/issues/report\">Summary</a><br />\n\n\n\n\n\t<a href=\"/projects/ecookbook/issues/calendar\">Calendar</a><br />\n\n\n\t<a href=\"/projects/ecookbook/issues/gantt\">Gantt</a><br />\n\n\n\n<h3>Custom queries</h3>\n\n<a href=\"/projects/ecookbook/issues?query_id=1\">Multiple custom fields query</a><br />\n<a href=\"/projects/ecookbook/issues?query_id=5\">Open issues by priority and tracker</a><br />\n<a href=\"/projects/ecookbook/issues?query_id=9\">Open issues grouped by list custom field</a><br />\n<a href=\"/projects/ecookbook/issues?query_id=6\">Open issues grouped by tracker</a><br />\n<a href=\"/projects/ecookbook/issues?query_id=4\">Public query for all projects</a><br />\n\n\n\n \n </div>\n \n <div id=\"content\">\n\t\t\t\t\n <div class=\"contextual\">\n\n</div>\n\n<h2>Issues</h2>\n\n\n<form action=\"/queries/new\" id=\"query_form\" method=\"post\">\n <input id=\"project_id\" name=\"project_id\" type=\"hidden\" value=\"ecookbook\" />\n\t\t<div id=\"query_form_content\">\n <fieldset id=\"filters\" class=\"collapsible \">\n \t<legend onclick=\"toggleFieldset(this);\">Filters</legend>\n \t<div style=\"\">\n \t\t<script type=\"text/javascript\">\n//<![CDATA[\nfunction add_filter() {\n select = $('add_filter_select');\n field = select.value\n Element.show('tr_' + field);\n check_box = $('cb_' + field);\n check_box.checked = true;\n toggle_filter(field);\n select.selectedIndex = 0;\n \n for (i=0; i<select.options.length; i++) {\n if (select.options[i].value == field) {\n select.options[i].disabled = true;\n } \n }\n}\n\nfunction toggle_filter(field) {\n check_box = $('cb_' + field);\n \n if (check_box.checked) {\n Element.show(\"operators_\" + field);\n toggle_operator(field);\n } else {\n Element.hide(\"operators_\" + field);\n Element.hide(\"div_values_\" + field);\n }\n}\n\nfunction toggle_operator(field) {\n operator = $(\"operators_\" + field);\n switch (operator.value) {\n case \"!*\":\n case \"*\":\n case \"t\":\n case \"w\":\n case \"o\":\n case \"c\":\n Element.hide(\"div_values_\" + field);\n break;\n default:\n Element.show(\"div_values_\" + field);\n break;\n }\n}\n\nfunction toggle_multi_select(field) {\n select = $('values_' + field);\n if (select.multiple == true) {\n select.multiple = false;\n } else {\n select.multiple = true;\n }\n}\n//]]>\n</script>\n\n<table width=\"100%\">\n<tr>\n<td>\n<table>\n\n \n <tr id=\"tr_status_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input checked=\"checked\" id=\"cb_status_id\" name=\"fields[]\" onclick=\"toggle_filter('status_id');\" type=\"checkbox\" value=\"status_id\" />\n <label for=\"cb_status_id\">Status</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_status_id\" name=\"operators[status_id]\" onchange=\"toggle_operator('status_id');\" style=\"vertical-align: top;\"><option value=\"o\" selected=\"selected\">open</option>\n<option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"c\">closed</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_status_id\" style=\"display:none;\">\n \n <select name=\"values[status_id][]\" id=\"values_status_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"1\">New</option>\n<option value=\"2\">Assigned</option>\n<option value=\"3\">Resolved</option>\n<option value=\"4\">Feedback</option>\n<option value=\"5\">Closed</option>\n<option value=\"6\">Rejected</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('status_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('status_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_tracker_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_tracker_id\" name=\"fields[]\" onclick=\"toggle_filter('tracker_id');\" type=\"checkbox\" value=\"tracker_id\" />\n <label for=\"cb_tracker_id\">Tracker</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_tracker_id\" name=\"operators[tracker_id]\" onchange=\"toggle_operator('tracker_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option></select>\n </td>\n <td> \n <div id=\"div_values_tracker_id\" style=\"display:none;\">\n \n <select name=\"values[tracker_id][]\" id=\"values_tracker_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"1\">Bug</option>\n<option value=\"2\">Feature request</option>\n<option value=\"3\">Support request</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('tracker_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('tracker_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_priority_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_priority_id\" name=\"fields[]\" onclick=\"toggle_filter('priority_id');\" type=\"checkbox\" value=\"priority_id\" />\n <label for=\"cb_priority_id\">Priority</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_priority_id\" name=\"operators[priority_id]\" onchange=\"toggle_operator('priority_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option></select>\n </td>\n <td> \n <div id=\"div_values_priority_id\" style=\"display:none;\">\n \n <select name=\"values[priority_id][]\" id=\"values_priority_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"4\">Low</option>\n<option value=\"5\">Normal</option>\n<option value=\"6\">High</option>\n<option value=\"7\">Urgent</option>\n<option value=\"8\">Immediate</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('priority_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('priority_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_assigned_to_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_assigned_to_id\" name=\"fields[]\" onclick=\"toggle_filter('assigned_to_id');\" type=\"checkbox\" value=\"assigned_to_id\" />\n <label for=\"cb_assigned_to_id\">Assigned to</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_assigned_to_id\" name=\"operators[assigned_to_id]\" onchange=\"toggle_operator('assigned_to_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_assigned_to_id\" style=\"display:none;\">\n \n <select name=\"values[assigned_to_id][]\" id=\"values_assigned_to_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"3\">Dave Lopper</option>\n<option value=\"2\">John Smith</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('assigned_to_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('assigned_to_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_author_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_author_id\" name=\"fields[]\" onclick=\"toggle_filter('author_id');\" type=\"checkbox\" value=\"author_id\" />\n <label for=\"cb_author_id\">Author</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_author_id\" name=\"operators[author_id]\" onchange=\"toggle_operator('author_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option></select>\n </td>\n <td> \n <div id=\"div_values_author_id\" style=\"display:none;\">\n \n <select name=\"values[author_id][]\" id=\"values_author_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"3\">Dave Lopper</option>\n<option value=\"2\">John Smith</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('author_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('author_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_category_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_category_id\" name=\"fields[]\" onclick=\"toggle_filter('category_id');\" type=\"checkbox\" value=\"category_id\" />\n <label for=\"cb_category_id\">Category</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_category_id\" name=\"operators[category_id]\" onchange=\"toggle_operator('category_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_category_id\" style=\"display:none;\">\n \n <select name=\"values[category_id][]\" id=\"values_category_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"1\">Printing</option>\n<option value=\"2\">Recipes</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('category_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('category_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_fixed_version_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_fixed_version_id\" name=\"fields[]\" onclick=\"toggle_filter('fixed_version_id');\" type=\"checkbox\" value=\"fixed_version_id\" />\n <label for=\"cb_fixed_version_id\">Target version</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_fixed_version_id\" name=\"operators[fixed_version_id]\" onchange=\"toggle_operator('fixed_version_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_fixed_version_id\" style=\"display:none;\">\n \n <select name=\"values[fixed_version_id][]\" id=\"values_fixed_version_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"1\">eCookbook - 0.1</option>\n<option value=\"2\">eCookbook - 1.0</option>\n<option value=\"3\">eCookbook - 2.0</option>\n<option value=\"4\">eCookbook Subproject 1 - 2.0</option>\n<option value=\"6\">Private child of eCookbook - Private Version of public subproject</option>\n<option value=\"7\">OnlineStore - Systemwide visible version</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('fixed_version_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('fixed_version_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_subject\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_subject\" name=\"fields[]\" onclick=\"toggle_filter('subject');\" type=\"checkbox\" value=\"subject\" />\n <label for=\"cb_subject\">Subject</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_subject\" name=\"operators[subject]\" onchange=\"toggle_operator('subject');\" style=\"vertical-align: top;\"><option value=\"~\">contains</option>\n<option value=\"!~\">doesn't contain</option></select>\n </td>\n <td> \n <div id=\"div_values_subject\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_subject\" name=\"values[subject][]\" size=\"30\" type=\"text\" />\n \n </div>\n <script type=\"text/javascript\">toggle_filter('subject');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_created_on\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_created_on\" name=\"fields[]\" onclick=\"toggle_filter('created_on');\" type=\"checkbox\" value=\"created_on\" />\n <label for=\"cb_created_on\">Created</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_created_on\" name=\"operators[created_on]\" onchange=\"toggle_operator('created_on');\" style=\"vertical-align: top;\"><option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option></select>\n </td>\n <td> \n <div id=\"div_values_created_on\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_created_on\" name=\"values[created_on][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('created_on');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_updated_on\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_updated_on\" name=\"fields[]\" onclick=\"toggle_filter('updated_on');\" type=\"checkbox\" value=\"updated_on\" />\n <label for=\"cb_updated_on\">Updated</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_updated_on\" name=\"operators[updated_on]\" onchange=\"toggle_operator('updated_on');\" style=\"vertical-align: top;\"><option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option></select>\n </td>\n <td> \n <div id=\"div_values_updated_on\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_updated_on\" name=\"values[updated_on][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('updated_on');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_start_date\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_start_date\" name=\"fields[]\" onclick=\"toggle_filter('start_date');\" type=\"checkbox\" value=\"start_date\" />\n <label for=\"cb_start_date\">Start</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_start_date\" name=\"operators[start_date]\" onchange=\"toggle_operator('start_date');\" style=\"vertical-align: top;\"><option value=\"<t+\">in less than</option>\n<option value=\">t+\">in more than</option>\n<option value=\"t+\">in</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option>\n<option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option></select>\n </td>\n <td> \n <div id=\"div_values_start_date\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_start_date\" name=\"values[start_date][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('start_date');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_due_date\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_due_date\" name=\"fields[]\" onclick=\"toggle_filter('due_date');\" type=\"checkbox\" value=\"due_date\" />\n <label for=\"cb_due_date\">Due date</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_due_date\" name=\"operators[due_date]\" onchange=\"toggle_operator('due_date');\" style=\"vertical-align: top;\"><option value=\"<t+\">in less than</option>\n<option value=\">t+\">in more than</option>\n<option value=\"t+\">in</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option>\n<option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option></select>\n </td>\n <td> \n <div id=\"div_values_due_date\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_due_date\" name=\"values[due_date][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('due_date');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_estimated_hours\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_estimated_hours\" name=\"fields[]\" onclick=\"toggle_filter('estimated_hours');\" type=\"checkbox\" value=\"estimated_hours\" />\n <label for=\"cb_estimated_hours\">Estimated time</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_estimated_hours\" name=\"operators[estimated_hours]\" onchange=\"toggle_operator('estimated_hours');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\">=\">>=</option>\n<option value=\"<=\"><=</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_estimated_hours\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_estimated_hours\" name=\"values[estimated_hours][]\" size=\"3\" type=\"text\" />\n \n </div>\n <script type=\"text/javascript\">toggle_filter('estimated_hours');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_subproject_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_subproject_id\" name=\"fields[]\" onclick=\"toggle_filter('subproject_id');\" type=\"checkbox\" value=\"subproject_id\" />\n <label for=\"cb_subproject_id\">Subproject</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_subproject_id\" name=\"operators[subproject_id]\" onchange=\"toggle_operator('subproject_id');\" style=\"vertical-align: top;\"><option value=\"*\">all</option>\n<option value=\"!*\">none</option>\n<option value=\"=\">is</option></select>\n </td>\n <td> \n <div id=\"div_values_subproject_id\" style=\"display:none;\">\n \n <select name=\"values[subproject_id][]\" id=\"values_subproject_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"6\">Child of private child</option>\n<option value=\"3\">eCookbook Subproject 1</option>\n<option value=\"4\">eCookbook Subproject 2</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('subproject_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('subproject_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_done_ratio\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_done_ratio\" name=\"fields[]\" onclick=\"toggle_filter('done_ratio');\" type=\"checkbox\" value=\"done_ratio\" />\n <label for=\"cb_done_ratio\">% Done</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_done_ratio\" name=\"operators[done_ratio]\" onchange=\"toggle_operator('done_ratio');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\">=\">>=</option>\n<option value=\"<=\"><=</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_done_ratio\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_done_ratio\" name=\"values[done_ratio][]\" size=\"3\" type=\"text\" />\n \n </div>\n <script type=\"text/javascript\">toggle_filter('done_ratio');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_cf_9\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_cf_9\" name=\"fields[]\" onclick=\"toggle_filter('cf_9');\" type=\"checkbox\" value=\"cf_9\" />\n <label for=\"cb_cf_9\">Project 1 cf</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_cf_9\" name=\"operators[cf_9]\" onchange=\"toggle_operator('cf_9');\" style=\"vertical-align: top;\"><option value=\"<t+\">in less than</option>\n<option value=\">t+\">in more than</option>\n<option value=\"t+\">in</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option>\n<option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option></select>\n </td>\n <td> \n <div id=\"div_values_cf_9\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_cf_9\" name=\"values[cf_9][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('cf_9');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_cf_1\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_cf_1\" name=\"fields[]\" onclick=\"toggle_filter('cf_1');\" type=\"checkbox\" value=\"cf_1\" />\n <label for=\"cb_cf_1\">Database</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_cf_1\" name=\"operators[cf_1]\" onchange=\"toggle_operator('cf_1');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_cf_1\" style=\"display:none;\">\n \n <select name=\"values[cf_1][]\" id=\"values_cf_1\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"MySQL\">MySQL</option>\n<option value=\"PostgreSQL\">PostgreSQL</option>\n<option value=\"Oracle\">Oracle</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('cf_1');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('cf_1');</script>\n </td>\n </tr>\n\n</table>\n</td>\n<td class=\"add-filter\">\nAdd filter:\n<select class=\"select-small\" id=\"add_filter_select\" onchange=\"add_filter();\"><option value=\"\"></option>\n<option value=\"tracker_id\">Tracker</option>\n<option value=\"priority_id\">Priority</option>\n<option value=\"assigned_to_id\">Assigned to</option>\n<option value=\"author_id\">Author</option>\n<option value=\"category_id\">Category</option>\n<option value=\"fixed_version_id\">Target version</option>\n<option value=\"subject\">Subject</option>\n<option value=\"created_on\">Created</option>\n<option value=\"updated_on\">Updated</option>\n<option value=\"start_date\">Start</option>\n<option value=\"due_date\">Due date</option>\n<option value=\"estimated_hours\">Estimated time</option>\n<option value=\"subproject_id\">Subproject</option>\n<option value=\"done_ratio\">% Done</option>\n<option value=\"cf_9\">Project 1 cf</option>\n<option value=\"cf_1\">Database</option></select>\n</td>\n</tr>\n</table>\n\n \t</div>\n </fieldset>\n <fieldset class=\"collapsible collapsed\">\n \t<legend onclick=\"toggleFieldset(this);\">Options</legend>\n \t<div style=\"display: none;\">\n \t\t<table>\n \t\t\t<tr>\n \t\t\t\t<td>Columns</td>\n\t\t\t\t\t\t<td><table style=\"border-collapse: collapse; border:0;\">\n\t<tr>\n\t\t<td style=\"padding-left:0\"><select id=\"available_columns\" multiple=\"multiple\" name=\"available_columns[]\" size=\"10\" style=\"width:150px\"><option value=\"project\">Project</option>\n<option value=\"author\">Author</option>\n<option value=\"category\">Category</option>\n<option value=\"fixed_version\">Target version</option>\n<option value=\"start_date\">Start</option>\n<option value=\"due_date\">Due date</option>\n<option value=\"estimated_hours\">Estimated time</option>\n<option value=\"done_ratio\">% Done</option>\n<option value=\"created_on\">Created</option>\n<option value=\"cf_1\">Database</option>\n<option value=\"cf_2\">Searchable field</option>\n<option value=\"cf_6\">Float field</option>\n<option value=\"cf_8\">Custom date</option>\n<option value=\"cf_9\">Project 1 cf</option></select>\n\t\t</td>\n\t\t<td align=\"center\" valign=\"middle\">\n\t\t\t<input type=\"button\" value=\"→\"\n\t\t\t onclick=\"moveOptions(this.form.available_columns, this.form.selected_columns);\" /><br />\n\t\t\t<input type=\"button\" value=\"←\"\n\t\t\t onclick=\"moveOptions(this.form.selected_columns, this.form.available_columns);\" />\n\t\t</td>\n\t\t<td><select id=\"selected_columns\" multiple=\"multiple\" name=\"query[column_names][]\" size=\"10\" style=\"width:150px\"><option value=\"tracker\">Tracker</option>\n<option value=\"status\">Status</option>\n<option value=\"priority\">Priority</option>\n<option value=\"subject\">Subject</option>\n<option value=\"assigned_to\">Assigned to</option>\n<option value=\"updated_on\">Updated</option></select>\n\t\t</td>\n\t\t<td align=\"center\" valign=\"middle\">\n\t\t\t<input type=\"button\" value=\"↑\" onclick=\"moveOptionUp(this.form.selected_columns);\" /><br />\n\t\t\t<input type=\"button\" value=\"↓\" onclick=\"moveOptionDown(this.form.selected_columns);\" />\n\t\t</td>\n\t</tr>\n</table>\n\n\n</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>Group results by</td>\n\t\t\t\t\t\t<td><select id=\"group_by\" name=\"group_by\"><option value=\"\" selected=\"selected\"></option>\n<option value=\"project\">Project</option>\n<option value=\"tracker\">Tracker</option>\n<option value=\"status\">Status</option>\n<option value=\"priority\">Priority</option>\n<option value=\"assigned_to\">Assigned to</option>\n<option value=\"category\">Category</option>\n<option value=\"fixed_version\">Target version</option>\n<option value=\"done_ratio\">% Done</option>\n<option value=\"cf_1\">Database</option>\n<option value=\"cf_8\">Custom date</option>\n<option value=\"cf_9\">Project 1 cf</option></select></td>\n\t\t\t\t\t</tr>\n\t\t\t\t</table>\n\t\t\t</div>\n\t\t</fieldset>\n\t\t</div>\n <p class=\"buttons\">\n\n <a class=\"icon icon-checked\" href=\"#\" onclick=\"selectAllOptions("selected_columns");; new Ajax.Updater('content', '/issues?set_filter=1', {asynchronous:true, evalScripts:true, parameters:Form.serialize('query_form')}); return false;\">Apply</a>\n \n <a class=\"icon icon-reload\" href=\"#\" onclick=\"new Ajax.Updater('content', '/projects/ecookbook/issues?set_filter=1', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Clear</a>\n \n \n </p>\n</form>\n\n\n\n\n<form action=\"/issues\" method=\"post\">\t\n<input id=\"back_url\" name=\"back_url\" type=\"hidden\" value=\"/projects/1/issues\" />\n<div class=\"autoscroll\">\n<table class=\"list issues\">\n <thead><tr>\n <th><a href=\"/issues\" onclick=\"toggleIssuesSelection(Element.up(this, "form")); return false;\" title=\"Check all/Uncheck all\"><img alt=\"Toggle_check\" src=\"/images/toggle_check.png?1221815043\" /></a>\n </th>\n\t\t<th title=\"Sort by "#"\"><a class=\"sort desc\" href=\"/projects/1/issues?sort=id\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?sort=id', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">#</a></th>\n \n <th title=\"Sort by "Tracker"\"><a href=\"/projects/1/issues?sort=tracker%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?sort=tracker%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Tracker</a></th>\n \n <th title=\"Sort by "Status"\"><a href=\"/projects/1/issues?sort=status%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?sort=status%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Status</a></th>\n \n <th title=\"Sort by "Priority"\"><a href=\"/projects/1/issues?sort=priority%3Adesc%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?sort=priority%3Adesc%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Priority</a></th>\n \n <th title=\"Sort by "Subject"\"><a href=\"/projects/1/issues?sort=subject%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?sort=subject%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Subject</a></th>\n \n <th title=\"Sort by "Assigned to"\"><a href=\"/projects/1/issues?sort=assigned_to%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?sort=assigned_to%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Assigned to</a></th>\n \n <th title=\"Sort by "Updated"\"><a href=\"/projects/1/issues?sort=updated_on%3Adesc%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?sort=updated_on%3Adesc%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Updated</a></th>\n \n\t</tr></thead>\n\t\n\t<tbody>\n\t \n\t<tr id=\"issue-3\" class=\"hascontextmenu odd issue status-1 priority-1 overdue\">\n\t <td class=\"checkbox\"><input name=\"ids[]\" type=\"checkbox\" value=\"3\" /></td>\n\t\t<td class=\"id\"><a href=\"/issues/3\">3</a></td>\n <td class=\"tracker\">Bug</td><td class=\"status\">New</td><td class=\"priority\">Low</td><td class=\"subject\"><a href=\"/issues/3\">Error 281 when updating a recipe</a></td><td class=\"assigned_to\"><a href=\"/users/3\">Dave Lopper</a></td><td class=\"updated_on\">07/19/2006 11:07 pm</td>\n\t</tr>\n\t \n\t<tr id=\"issue-2\" class=\"hascontextmenu even issue status-1 priority-1\">\n\t <td class=\"checkbox\"><input name=\"ids[]\" type=\"checkbox\" value=\"2\" /></td>\n\t\t<td class=\"id\"><a href=\"/issues/2\">2</a></td>\n <td class=\"tracker\">Feature request</td><td class=\"status\">Assigned</td><td class=\"priority\">Normal</td><td class=\"subject\"><a href=\"/issues/2\">Add ingredients categories</a></td><td class=\"assigned_to\"><a href=\"/users/3\">Dave Lopper</a></td><td class=\"updated_on\">07/19/2006 11:09 pm</td>\n\t</tr>\n\t\t</tbody>\n</table>\n</div>\n</form>\n<p class=\"pagination\"> (1-6/6) | Per page: 25, <a href=\"/projects/1/issues?per_page=50\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?per_page=50', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">50</a>, <a href=\"/projects/1/issues?per_page=100\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?per_page=100', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">100</a></p>\n\n\n<p class=\"other-formats\">Also available in:\n\t<span><a href=\"/projects/ecookbook/issues.atom\" class=\"atom\" rel=\"nofollow\">Atom</a></span>\n\t<span><a href=\"/projects/ecookbook/issues.csv\" class=\"csv\" rel=\"nofollow\">CSV</a></span>\n\t<span><a href=\"/projects/ecookbook/issues.pdf\" class=\"pdf\" rel=\"nofollow\">PDF</a></span>\n</p>\n\n\n\n\n\n\n\n<div id=\"context-menu\" style=\"display: none;\"></div>\n<script type=\"text/javascript\">\n//<![CDATA[\nnew ContextMenu('/issues/context_menu')\n//]]>\n</script>\n\n \n\t\t\t\t<div style=\"clear:both;\"></div>\n </div>\n</div>\n\n<div id=\"ajax-indicator\" style=\"display:none;\"><span>Loading...</span></div>\n\t\n<div id=\"footer\">\n Powered by <a href=\"http://www.redmine.org/\">Redmine</a> © 2006-2010 Jean-Philippe Lang\n</div>\n</div>\n\n</body>\n</html>\n".
|
105
|
<nil> is not true.
|
106
|
|
107
|
6) Failure:
|
108
|
test_index_with_project_and_subprojects_should_show_private_subprojects(IssuesControllerTest) [/test/functional/issues_controller_test.rb:144]:
|
109
|
expected tag, but no tag found matching {:content=>/Can't print recipes/, :tag=>"a"} in:
|
110
|
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\n<head>\n<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n<title>eCookbook - Issues - Redmine</title>\n<meta name=\"description\" content=\"Redmine\" />\n<meta name=\"keywords\" content=\"issue,bug,tracker\" />\n<link href=\"/stylesheets/application.css?1272655310\" media=\"all\" rel=\"stylesheet\" type=\"text/css\" />\n<script src=\"/javascripts/prototype.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/effects.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/dragdrop.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/controls.js?1272655310\" type=\"text/javascript\"></script>\n<script src=\"/javascripts/application.js?1272655310\" type=\"text/javascript\"></script>\n<link href=\"/stylesheets/jstoolbar.css?1233572194\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n<!--[if IE]>\n <style type=\"text/css\">\n * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); }\n body {behavior: url(/stylesheets/csshover.htc?1221815008);}\n </style>\n<![endif]-->\n\n<!-- page specific tags -->\n\n<script src=\"/javascripts/select_list_move.js?1272655310\" type=\"text/javascript\"></script>\n\n <link href=\"http://test.host/projects/1/issues.atom?key=90cff25cce8ba4debed2dd25fe3672906b9f0c07&query_id=\" rel=\"alternate\" title=\"Issues\" type=\"application/atom+xml\" />\n <link href=\"http://test.host/issues/changes?format=atom&key=24fc0050fbd326e2590072994412668a1adf24ba&query_id=\" rel=\"alternate\" title=\"Details of all changes\" type=\"application/atom+xml\" />\n <script src=\"/javascripts/context_menu.js?1272655310\" type=\"text/javascript\"></script>\n <link href=\"/stylesheets/context_menu.css?1233572194\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n</head>\n<body>\n<div id=\"wrapper\">\n<div id=\"top-menu\">\n <div id=\"account\">\n <ul><li><a href=\"/my/account\" class=\"my-account\">My account</a></li>\n<li><a href=\"/logout\" class=\"logout\">Sign out</a></li></ul> </div>\n <div id=\"loggedas\">Logged in as <a href=\"/users/2\">jsmith</a></div>\n <ul><li><a href=\"/\" class=\"home\">Home</a></li>\n<li><a href=\"/my/page\" class=\"my-page\">My page</a></li>\n<li><a href=\"/projects\" class=\"projects\">Projects</a></li>\n<li><a href=\"http://www.redmine.org/guide\" class=\"help\">Help</a></li></ul></div>\n \n<div id=\"header\">\n <div id=\"quick-search\">\n <form action=\"/search/index/ecookbook\" method=\"get\">\n <input name=\"issues\" type=\"hidden\" value=\"1\" />\n <a href=\"/search/index/ecookbook\" accesskey=\"4\">Search</a>:\n <input accesskey=\"f\" class=\"small\" id=\"q\" name=\"q\" size=\"20\" type=\"text\" />\n </form>\n <select onchange=\"if (this.value != '') { window.location = this.value; }\"><option value=''>Jump to a project...</option><option value=\"\" disabled=\"disabled\">---</option><option selected=\"selected\" value=\"/projects/ecookbook?jump=issues\">eCookbook</option><option value=\"/projects/private-child?jump=issues\"> » Private child of eCookbook</option><option value=\"/projects/onlinestore?jump=issues\">OnlineStore</option></select>\n </div>\n \n <h1>eCookbook</h1>\n \n \n <div id=\"main-menu\">\n <ul><li><a href=\"/projects/ecookbook\" class=\"overview\">Overview</a></li>\n<li><a href=\"/projects/ecookbook/activity\" class=\"activity\">Activity</a></li>\n<li><a href=\"/projects/ecookbook/roadmap\" class=\"roadmap\">Roadmap</a></li>\n<li><a href=\"/projects/ecookbook/issues\" class=\"issues selected\">Issues</a></li>\n<li><a href=\"/projects/ecookbook/issues/new\" accesskey=\"7\" class=\"new-issue\">New issue</a></li>\n<li><a href=\"/projects/ecookbook/news\" class=\"news\">News</a></li>\n<li><a href=\"/projects/ecookbook/documents\" class=\"documents\">Documents</a></li>\n<li><a href=\"/projects/ecookbook/wiki\" class=\"wiki\">Wiki</a></li>\n<li><a href=\"/projects/ecookbook/boards\" class=\"boards\">Forums</a></li>\n<li><a href=\"/projects/ecookbook/files\" class=\"files\">Files</a></li>\n<li><a href=\"/projects/ecookbook/repository\" class=\"repository\">Repository</a></li>\n<li><a href=\"/projects/ecookbook/settings\" class=\"settings\">Settings</a></li></ul>\n </div>\n \n</div>\n\n<div class=\"\" id=\"main\">\n <div id=\"sidebar\"> \n \n <h3>Issues</h3>\n<a href=\"/projects/ecookbook/issues?set_filter=1\">View all issues</a><br />\n\n<a href=\"/projects/ecookbook/issues/report\">Summary</a><br />\n\n\n\n\n\t<a href=\"/projects/ecookbook/issues/calendar\">Calendar</a><br />\n\n\n\t<a href=\"/projects/ecookbook/issues/gantt\">Gantt</a><br />\n\n\n\n<h3>Custom queries</h3>\n\n<a href=\"/projects/ecookbook/issues?query_id=1\">Multiple custom fields query</a><br />\n<a href=\"/projects/ecookbook/issues?query_id=5\">Open issues by priority and tracker</a><br />\n<a href=\"/projects/ecookbook/issues?query_id=9\">Open issues grouped by list custom field</a><br />\n<a href=\"/projects/ecookbook/issues?query_id=6\">Open issues grouped by tracker</a><br />\n<a href=\"/projects/ecookbook/issues?query_id=4\">Public query for all projects</a><br />\n\n\n\n \n </div>\n \n <div id=\"content\">\n\t\t\t\t\n <div class=\"contextual\">\n\n</div>\n\n<h2>Issues</h2>\n\n\n<form action=\"/queries/new\" id=\"query_form\" method=\"post\">\n <input id=\"project_id\" name=\"project_id\" type=\"hidden\" value=\"ecookbook\" />\n\t\t<div id=\"query_form_content\">\n <fieldset id=\"filters\" class=\"collapsible \">\n \t<legend onclick=\"toggleFieldset(this);\">Filters</legend>\n \t<div style=\"\">\n \t\t<script type=\"text/javascript\">\n//<![CDATA[\nfunction add_filter() {\n select = $('add_filter_select');\n field = select.value\n Element.show('tr_' + field);\n check_box = $('cb_' + field);\n check_box.checked = true;\n toggle_filter(field);\n select.selectedIndex = 0;\n \n for (i=0; i<select.options.length; i++) {\n if (select.options[i].value == field) {\n select.options[i].disabled = true;\n } \n }\n}\n\nfunction toggle_filter(field) {\n check_box = $('cb_' + field);\n \n if (check_box.checked) {\n Element.show(\"operators_\" + field);\n toggle_operator(field);\n } else {\n Element.hide(\"operators_\" + field);\n Element.hide(\"div_values_\" + field);\n }\n}\n\nfunction toggle_operator(field) {\n operator = $(\"operators_\" + field);\n switch (operator.value) {\n case \"!*\":\n case \"*\":\n case \"t\":\n case \"w\":\n case \"o\":\n case \"c\":\n Element.hide(\"div_values_\" + field);\n break;\n default:\n Element.show(\"div_values_\" + field);\n break;\n }\n}\n\nfunction toggle_multi_select(field) {\n select = $('values_' + field);\n if (select.multiple == true) {\n select.multiple = false;\n } else {\n select.multiple = true;\n }\n}\n//]]>\n</script>\n\n<table width=\"100%\">\n<tr>\n<td>\n<table>\n\n \n <tr id=\"tr_status_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input checked=\"checked\" id=\"cb_status_id\" name=\"fields[]\" onclick=\"toggle_filter('status_id');\" type=\"checkbox\" value=\"status_id\" />\n <label for=\"cb_status_id\">Status</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_status_id\" name=\"operators[status_id]\" onchange=\"toggle_operator('status_id');\" style=\"vertical-align: top;\"><option value=\"o\" selected=\"selected\">open</option>\n<option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"c\">closed</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_status_id\" style=\"display:none;\">\n \n <select name=\"values[status_id][]\" id=\"values_status_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"1\">New</option>\n<option value=\"2\">Assigned</option>\n<option value=\"3\">Resolved</option>\n<option value=\"4\">Feedback</option>\n<option value=\"5\">Closed</option>\n<option value=\"6\">Rejected</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('status_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('status_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_tracker_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_tracker_id\" name=\"fields[]\" onclick=\"toggle_filter('tracker_id');\" type=\"checkbox\" value=\"tracker_id\" />\n <label for=\"cb_tracker_id\">Tracker</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_tracker_id\" name=\"operators[tracker_id]\" onchange=\"toggle_operator('tracker_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option></select>\n </td>\n <td> \n <div id=\"div_values_tracker_id\" style=\"display:none;\">\n \n <select name=\"values[tracker_id][]\" id=\"values_tracker_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"1\">Bug</option>\n<option value=\"2\">Feature request</option>\n<option value=\"3\">Support request</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('tracker_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('tracker_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_priority_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_priority_id\" name=\"fields[]\" onclick=\"toggle_filter('priority_id');\" type=\"checkbox\" value=\"priority_id\" />\n <label for=\"cb_priority_id\">Priority</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_priority_id\" name=\"operators[priority_id]\" onchange=\"toggle_operator('priority_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option></select>\n </td>\n <td> \n <div id=\"div_values_priority_id\" style=\"display:none;\">\n \n <select name=\"values[priority_id][]\" id=\"values_priority_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"4\">Low</option>\n<option value=\"5\">Normal</option>\n<option value=\"6\">High</option>\n<option value=\"7\">Urgent</option>\n<option value=\"8\">Immediate</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('priority_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('priority_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_assigned_to_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_assigned_to_id\" name=\"fields[]\" onclick=\"toggle_filter('assigned_to_id');\" type=\"checkbox\" value=\"assigned_to_id\" />\n <label for=\"cb_assigned_to_id\">Assigned to</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_assigned_to_id\" name=\"operators[assigned_to_id]\" onchange=\"toggle_operator('assigned_to_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_assigned_to_id\" style=\"display:none;\">\n \n <select name=\"values[assigned_to_id][]\" id=\"values_assigned_to_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"me\"><< me >></option>\n<option value=\"3\">Dave Lopper</option>\n<option value=\"2\">John Smith</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('assigned_to_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('assigned_to_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_author_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_author_id\" name=\"fields[]\" onclick=\"toggle_filter('author_id');\" type=\"checkbox\" value=\"author_id\" />\n <label for=\"cb_author_id\">Author</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_author_id\" name=\"operators[author_id]\" onchange=\"toggle_operator('author_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option></select>\n </td>\n <td> \n <div id=\"div_values_author_id\" style=\"display:none;\">\n \n <select name=\"values[author_id][]\" id=\"values_author_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"me\"><< me >></option>\n<option value=\"3\">Dave Lopper</option>\n<option value=\"2\">John Smith</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('author_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('author_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_category_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_category_id\" name=\"fields[]\" onclick=\"toggle_filter('category_id');\" type=\"checkbox\" value=\"category_id\" />\n <label for=\"cb_category_id\">Category</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_category_id\" name=\"operators[category_id]\" onchange=\"toggle_operator('category_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_category_id\" style=\"display:none;\">\n \n <select name=\"values[category_id][]\" id=\"values_category_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"1\">Printing</option>\n<option value=\"2\">Recipes</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('category_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('category_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_fixed_version_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_fixed_version_id\" name=\"fields[]\" onclick=\"toggle_filter('fixed_version_id');\" type=\"checkbox\" value=\"fixed_version_id\" />\n <label for=\"cb_fixed_version_id\">Target version</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_fixed_version_id\" name=\"operators[fixed_version_id]\" onchange=\"toggle_operator('fixed_version_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_fixed_version_id\" style=\"display:none;\">\n \n <select name=\"values[fixed_version_id][]\" id=\"values_fixed_version_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"1\">eCookbook - 0.1</option>\n<option value=\"2\">eCookbook - 1.0</option>\n<option value=\"3\">eCookbook - 2.0</option>\n<option value=\"4\">eCookbook Subproject 1 - 2.0</option>\n<option value=\"6\">Private child of eCookbook - Private Version of public subproject</option>\n<option value=\"7\">OnlineStore - Systemwide visible version</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('fixed_version_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('fixed_version_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_subject\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_subject\" name=\"fields[]\" onclick=\"toggle_filter('subject');\" type=\"checkbox\" value=\"subject\" />\n <label for=\"cb_subject\">Subject</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_subject\" name=\"operators[subject]\" onchange=\"toggle_operator('subject');\" style=\"vertical-align: top;\"><option value=\"~\">contains</option>\n<option value=\"!~\">doesn't contain</option></select>\n </td>\n <td> \n <div id=\"div_values_subject\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_subject\" name=\"values[subject][]\" size=\"30\" type=\"text\" />\n \n </div>\n <script type=\"text/javascript\">toggle_filter('subject');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_created_on\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_created_on\" name=\"fields[]\" onclick=\"toggle_filter('created_on');\" type=\"checkbox\" value=\"created_on\" />\n <label for=\"cb_created_on\">Created</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_created_on\" name=\"operators[created_on]\" onchange=\"toggle_operator('created_on');\" style=\"vertical-align: top;\"><option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option></select>\n </td>\n <td> \n <div id=\"div_values_created_on\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_created_on\" name=\"values[created_on][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('created_on');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_updated_on\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_updated_on\" name=\"fields[]\" onclick=\"toggle_filter('updated_on');\" type=\"checkbox\" value=\"updated_on\" />\n <label for=\"cb_updated_on\">Updated</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_updated_on\" name=\"operators[updated_on]\" onchange=\"toggle_operator('updated_on');\" style=\"vertical-align: top;\"><option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option></select>\n </td>\n <td> \n <div id=\"div_values_updated_on\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_updated_on\" name=\"values[updated_on][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('updated_on');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_start_date\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_start_date\" name=\"fields[]\" onclick=\"toggle_filter('start_date');\" type=\"checkbox\" value=\"start_date\" />\n <label for=\"cb_start_date\">Start</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_start_date\" name=\"operators[start_date]\" onchange=\"toggle_operator('start_date');\" style=\"vertical-align: top;\"><option value=\"<t+\">in less than</option>\n<option value=\">t+\">in more than</option>\n<option value=\"t+\">in</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option>\n<option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option></select>\n </td>\n <td> \n <div id=\"div_values_start_date\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_start_date\" name=\"values[start_date][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('start_date');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_due_date\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_due_date\" name=\"fields[]\" onclick=\"toggle_filter('due_date');\" type=\"checkbox\" value=\"due_date\" />\n <label for=\"cb_due_date\">Due date</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_due_date\" name=\"operators[due_date]\" onchange=\"toggle_operator('due_date');\" style=\"vertical-align: top;\"><option value=\"<t+\">in less than</option>\n<option value=\">t+\">in more than</option>\n<option value=\"t+\">in</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option>\n<option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option></select>\n </td>\n <td> \n <div id=\"div_values_due_date\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_due_date\" name=\"values[due_date][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('due_date');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_subproject_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_subproject_id\" name=\"fields[]\" onclick=\"toggle_filter('subproject_id');\" type=\"checkbox\" value=\"subproject_id\" />\n <label for=\"cb_subproject_id\">Subproject</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_subproject_id\" name=\"operators[subproject_id]\" onchange=\"toggle_operator('subproject_id');\" style=\"vertical-align: top;\"><option value=\"*\">all</option>\n<option value=\"!*\">none</option>\n<option value=\"=\">is</option></select>\n </td>\n <td> \n <div id=\"div_values_subproject_id\" style=\"display:none;\">\n \n <select name=\"values[subproject_id][]\" id=\"values_subproject_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"5\">Private child of eCookbook</option>\n<option value=\"6\">Child of private child</option>\n<option value=\"3\">eCookbook Subproject 1</option>\n<option value=\"4\">eCookbook Subproject 2</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('subproject_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('subproject_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_estimated_hours\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_estimated_hours\" name=\"fields[]\" onclick=\"toggle_filter('estimated_hours');\" type=\"checkbox\" value=\"estimated_hours\" />\n <label for=\"cb_estimated_hours\">Estimated time</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_estimated_hours\" name=\"operators[estimated_hours]\" onchange=\"toggle_operator('estimated_hours');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\">=\">>=</option>\n<option value=\"<=\"><=</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_estimated_hours\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_estimated_hours\" name=\"values[estimated_hours][]\" size=\"3\" type=\"text\" />\n \n </div>\n <script type=\"text/javascript\">toggle_filter('estimated_hours');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_done_ratio\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_done_ratio\" name=\"fields[]\" onclick=\"toggle_filter('done_ratio');\" type=\"checkbox\" value=\"done_ratio\" />\n <label for=\"cb_done_ratio\">% Done</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_done_ratio\" name=\"operators[done_ratio]\" onchange=\"toggle_operator('done_ratio');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\">=\">>=</option>\n<option value=\"<=\"><=</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_done_ratio\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_done_ratio\" name=\"values[done_ratio][]\" size=\"3\" type=\"text\" />\n \n </div>\n <script type=\"text/javascript\">toggle_filter('done_ratio');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_watcher_id\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_watcher_id\" name=\"fields[]\" onclick=\"toggle_filter('watcher_id');\" type=\"checkbox\" value=\"watcher_id\" />\n <label for=\"cb_watcher_id\">Watcher</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_watcher_id\" name=\"operators[watcher_id]\" onchange=\"toggle_operator('watcher_id');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option></select>\n </td>\n <td> \n <div id=\"div_values_watcher_id\" style=\"display:none;\">\n \n <select name=\"values[watcher_id][]\" id=\"values_watcher_id\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"me\"><< me >></option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('watcher_id');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('watcher_id');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_cf_9\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_cf_9\" name=\"fields[]\" onclick=\"toggle_filter('cf_9');\" type=\"checkbox\" value=\"cf_9\" />\n <label for=\"cb_cf_9\">Project 1 cf</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_cf_9\" name=\"operators[cf_9]\" onchange=\"toggle_operator('cf_9');\" style=\"vertical-align: top;\"><option value=\"<t+\">in less than</option>\n<option value=\">t+\">in more than</option>\n<option value=\"t+\">in</option>\n<option value=\"t\">today</option>\n<option value=\"w\">this week</option>\n<option value=\">t-\">less than days ago</option>\n<option value=\"<t-\">more than days ago</option>\n<option value=\"t-\">days ago</option></select>\n </td>\n <td> \n <div id=\"div_values_cf_9\" style=\"display:none;\">\n \n <input class=\"select-small\" id=\"values_cf_9\" name=\"values[cf_9][]\" size=\"3\" type=\"text\" /> days\n \n </div>\n <script type=\"text/javascript\">toggle_filter('cf_9');</script>\n </td>\n </tr>\n\n \n <tr style=\"display:none;\" id=\"tr_cf_1\" class=\"filter\">\n <td style=\"width:200px;\">\n <input id=\"cb_cf_1\" name=\"fields[]\" onclick=\"toggle_filter('cf_1');\" type=\"checkbox\" value=\"cf_1\" />\n <label for=\"cb_cf_1\">Database</label>\n </td>\n <td style=\"width:150px;\">\n <select class=\"select-small\" id=\"operators_cf_1\" name=\"operators[cf_1]\" onchange=\"toggle_operator('cf_1');\" style=\"vertical-align: top;\"><option value=\"=\">is</option>\n<option value=\"!\">is not</option>\n<option value=\"!*\">none</option>\n<option value=\"*\">all</option></select>\n </td>\n <td> \n <div id=\"div_values_cf_1\" style=\"display:none;\">\n \n <select name=\"values[cf_1][]\" id=\"values_cf_1\" class=\"select-small\" style=\"vertical-align: top;\">\n <option value=\"MySQL\">MySQL</option>\n<option value=\"PostgreSQL\">PostgreSQL</option>\n<option value=\"Oracle\">Oracle</option> \n </select>\n <a href=\"#\" onclick=\"toggle_multi_select('cf_1');; return false;\" style=\"vertical-align: bottom;\"><img alt=\"Bullet_toggle_plus\" src=\"/images/bullet_toggle_plus.png?1221815039\" /></a>\n \n </div>\n <script type=\"text/javascript\">toggle_filter('cf_1');</script>\n </td>\n </tr>\n\n</table>\n</td>\n<td class=\"add-filter\">\nAdd filter:\n<select class=\"select-small\" id=\"add_filter_select\" onchange=\"add_filter();\"><option value=\"\"></option>\n<option value=\"tracker_id\">Tracker</option>\n<option value=\"priority_id\">Priority</option>\n<option value=\"assigned_to_id\">Assigned to</option>\n<option value=\"author_id\">Author</option>\n<option value=\"category_id\">Category</option>\n<option value=\"fixed_version_id\">Target version</option>\n<option value=\"subject\">Subject</option>\n<option value=\"created_on\">Created</option>\n<option value=\"updated_on\">Updated</option>\n<option value=\"start_date\">Start</option>\n<option value=\"due_date\">Due date</option>\n<option value=\"subproject_id\">Subproject</option>\n<option value=\"estimated_hours\">Estimated time</option>\n<option value=\"done_ratio\">% Done</option>\n<option value=\"watcher_id\">Watcher</option>\n<option value=\"cf_9\">Project 1 cf</option>\n<option value=\"cf_1\">Database</option></select>\n</td>\n</tr>\n</table>\n\n \t</div>\n </fieldset>\n <fieldset class=\"collapsible collapsed\">\n \t<legend onclick=\"toggleFieldset(this);\">Options</legend>\n \t<div style=\"display: none;\">\n \t\t<table>\n \t\t\t<tr>\n \t\t\t\t<td>Columns</td>\n\t\t\t\t\t\t<td><table style=\"border-collapse: collapse; border:0;\">\n\t<tr>\n\t\t<td style=\"padding-left:0\"><select id=\"available_columns\" multiple=\"multiple\" name=\"available_columns[]\" size=\"10\" style=\"width:150px\"><option value=\"project\">Project</option>\n<option value=\"author\">Author</option>\n<option value=\"category\">Category</option>\n<option value=\"fixed_version\">Target version</option>\n<option value=\"start_date\">Start</option>\n<option value=\"due_date\">Due date</option>\n<option value=\"estimated_hours\">Estimated time</option>\n<option value=\"done_ratio\">% Done</option>\n<option value=\"created_on\">Created</option>\n<option value=\"cf_1\">Database</option>\n<option value=\"cf_2\">Searchable field</option>\n<option value=\"cf_6\">Float field</option>\n<option value=\"cf_8\">Custom date</option>\n<option value=\"cf_9\">Project 1 cf</option></select>\n\t\t</td>\n\t\t<td align=\"center\" valign=\"middle\">\n\t\t\t<input type=\"button\" value=\"→\"\n\t\t\t onclick=\"moveOptions(this.form.available_columns, this.form.selected_columns);\" /><br />\n\t\t\t<input type=\"button\" value=\"←\"\n\t\t\t onclick=\"moveOptions(this.form.selected_columns, this.form.available_columns);\" />\n\t\t</td>\n\t\t<td><select id=\"selected_columns\" multiple=\"multiple\" name=\"query[column_names][]\" size=\"10\" style=\"width:150px\"><option value=\"tracker\">Tracker</option>\n<option value=\"status\">Status</option>\n<option value=\"priority\">Priority</option>\n<option value=\"subject\">Subject</option>\n<option value=\"assigned_to\">Assigned to</option>\n<option value=\"updated_on\">Updated</option></select>\n\t\t</td>\n\t\t<td align=\"center\" valign=\"middle\">\n\t\t\t<input type=\"button\" value=\"↑\" onclick=\"moveOptionUp(this.form.selected_columns);\" /><br />\n\t\t\t<input type=\"button\" value=\"↓\" onclick=\"moveOptionDown(this.form.selected_columns);\" />\n\t\t</td>\n\t</tr>\n</table>\n\n\n</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>Group results by</td>\n\t\t\t\t\t\t<td><select id=\"group_by\" name=\"group_by\"><option value=\"\" selected=\"selected\"></option>\n<option value=\"project\">Project</option>\n<option value=\"tracker\">Tracker</option>\n<option value=\"status\">Status</option>\n<option value=\"priority\">Priority</option>\n<option value=\"assigned_to\">Assigned to</option>\n<option value=\"category\">Category</option>\n<option value=\"fixed_version\">Target version</option>\n<option value=\"done_ratio\">% Done</option>\n<option value=\"cf_1\">Database</option>\n<option value=\"cf_8\">Custom date</option>\n<option value=\"cf_9\">Project 1 cf</option></select></td>\n\t\t\t\t\t</tr>\n\t\t\t\t</table>\n\t\t\t</div>\n\t\t</fieldset>\n\t\t</div>\n <p class=\"buttons\">\n\n <a class=\"icon icon-checked\" href=\"#\" onclick=\"selectAllOptions("selected_columns");; new Ajax.Updater('content', '/issues?set_filter=1', {asynchronous:true, evalScripts:true, parameters:Form.serialize('query_form')}); return false;\">Apply</a>\n \n <a class=\"icon icon-reload\" href=\"#\" onclick=\"new Ajax.Updater('content', '/projects/ecookbook/issues?set_filter=1', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Clear</a>\n \n \n <a href=\"/issues\" class=\"icon icon-save\" onclick=\"selectAllOptions('selected_columns'); $('query_form').submit(); return false;\">Save</a>\n \n </p>\n</form>\n\n\n\n\n<form action=\"/issues\" method=\"post\">\t\n<input id=\"back_url\" name=\"back_url\" type=\"hidden\" value=\"/projects/1/issues\" />\n<div class=\"autoscroll\">\n<table class=\"list issues\">\n <thead><tr>\n <th><a href=\"/issues\" onclick=\"toggleIssuesSelection(Element.up(this, "form")); return false;\" title=\"Check all/Uncheck all\"><img alt=\"Toggle_check\" src=\"/images/toggle_check.png?1221815043\" /></a>\n </th>\n\t\t<th title=\"Sort by "#"\"><a class=\"sort desc\" href=\"/projects/1/issues?sort=id\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?sort=id', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">#</a></th>\n \n <th title=\"Sort by "Tracker"\"><a href=\"/projects/1/issues?sort=tracker%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?sort=tracker%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Tracker</a></th>\n \n <th title=\"Sort by "Status"\"><a href=\"/projects/1/issues?sort=status%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?sort=status%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Status</a></th>\n \n <th title=\"Sort by "Priority"\"><a href=\"/projects/1/issues?sort=priority%3Adesc%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?sort=priority%3Adesc%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Priority</a></th>\n \n <th title=\"Sort by "Subject"\"><a href=\"/projects/1/issues?sort=subject%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?sort=subject%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Subject</a></th>\n \n <th title=\"Sort by "Assigned to"\"><a href=\"/projects/1/issues?sort=assigned_to%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?sort=assigned_to%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Assigned to</a></th>\n \n <th title=\"Sort by "Updated"\"><a href=\"/projects/1/issues?sort=updated_on%3Adesc%2Cid%3Adesc\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?sort=updated_on%3Adesc%2Cid%3Adesc', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">Updated</a></th>\n \n\t</tr></thead>\n\t\n\t<tbody>\n\t \n\t<tr id=\"issue-3\" class=\"hascontextmenu odd issue status-1 priority-1 overdue created-by-me\">\n\t <td class=\"checkbox\"><input name=\"ids[]\" type=\"checkbox\" value=\"3\" /></td>\n\t\t<td class=\"id\"><a href=\"/issues/3\">3</a></td>\n <td class=\"tracker\">Bug</td><td class=\"status\">New</td><td class=\"priority\">Low</td><td class=\"subject\"><a href=\"/issues/3\">Error 281 when updating a recipe</a></td><td class=\"assigned_to\"><a href=\"/users/3\">Dave Lopper</a></td><td class=\"updated_on\">07/19/2006 11:07 pm</td>\n\t</tr>\n\t \n\t<tr id=\"issue-2\" class=\"hascontextmenu even issue status-1 priority-1 created-by-me\">\n\t <td class=\"checkbox\"><input name=\"ids[]\" type=\"checkbox\" value=\"2\" /></td>\n\t\t<td class=\"id\"><a href=\"/issues/2\">2</a></td>\n <td class=\"tracker\">Feature request</td><td class=\"status\">Assigned</td><td class=\"priority\">Normal</td><td class=\"subject\"><a href=\"/issues/2\">Add ingredients categories</a></td><td class=\"assigned_to\"><a href=\"/users/3\">Dave Lopper</a></td><td class=\"updated_on\">07/19/2006 11:09 pm</td>\n\t</tr>\n\t\t</tbody>\n</table>\n</div>\n</form>\n<p class=\"pagination\"> (1-9/9) | Per page: 25, <a href=\"/projects/1/issues?per_page=50\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?per_page=50', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">50</a>, <a href=\"/projects/1/issues?per_page=100\" onclick=\"new Ajax.Updater('content', '/projects/1/issues?per_page=100', {asynchronous:true, evalScripts:true, method:'get'}); return false;\">100</a></p>\n\n\n<p class=\"other-formats\">Also available in:\n\t<span><a href=\"/projects/ecookbook/issues.atom?key=b9592d0a9e7bd60fe415f611f4c507df5deb75ac\" class=\"atom\" rel=\"nofollow\">Atom</a></span>\n\t<span><a href=\"/projects/ecookbook/issues.csv\" class=\"csv\" rel=\"nofollow\">CSV</a></span>\n\t<span><a href=\"/projects/ecookbook/issues.pdf\" class=\"pdf\" rel=\"nofollow\">PDF</a></span>\n</p>\n\n\n\n\n\n\n\n<div id=\"context-menu\" style=\"display: none;\"></div>\n<script type=\"text/javascript\">\n//<![CDATA[\nnew ContextMenu('/issues/context_menu')\n//]]>\n</script>\n\n \n\t\t\t\t<div style=\"clear:both;\"></div>\n </div>\n</div>\n\n<div id=\"ajax-indicator\" style=\"display:none;\"><span>Loading...</span></div>\n\t\n<div id=\"footer\">\n Powered by <a href=\"http://www.redmine.org/\">Redmine</a> © 2006-2010 Jean-Philippe Lang\n</div>\n</div>\n\n</body>\n</html>\n".
|
111
|
<nil> is not true.
|
112
|
|
113
|
561 tests, 1945 assertions, 6 failures, 0 errors
|
114
|
/usr/bin/ruby -I"lib:test" "/etc/_orga/redmine/rails-2.3.5/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/integration/lib/redmine/menu_manager_test.rb" "test/integration/issues_test.rb" "test/integration/api_token_login_test.rb" "test/integration/http_basic_login_with_api_token_test.rb" "test/integration/admin_test.rb" "test/integration/http_basic_login_test.rb" "test/integration/projects_test.rb" "test/integration/account_test.rb" "test/integration/disabled_rest_api_test.rb" "test/integration/application_test.rb"
|
115
|
/etc/_orga/redmine/rails-2.3.5/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
|
116
|
Loaded suite /etc/_orga/redmine/rails-2.3.5/gems/rake-0.8.7/lib/rake/rake_test_loader
|
117
|
Started
|
118
|
.............................................................................
|
119
|
Finished in 15.576852 seconds.
|
120
|
|
121
|
77 tests, 204 assertions, 0 failures, 0 errors
|
122
|
Errors running test:units and test:functionals!
|