Mercurial > p > roundup > code
comparison doc/upgrading.txt @ 7694:54eb12cd3be1
fix: make task index not crash.
It looks like the task.index.html page was a copy of bug.index.html.
However some fields are missing from a task that is in a bug. This
causes a crash when looking at all tasks if you don't explicitly
select the fields to be displayed.
The task links from the sidebar do explicitly select @columns fields,
so the crash is not normally seen.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 05 Nov 2023 22:31:40 -0500 |
| parents | a27f30709d46 |
| children | 0c855080794e |
comparison
equal
deleted
inserted
replaced
| 7691:c95870b2bbab | 7694:54eb12cd3be1 |
|---|---|
| 132 to:: | 132 to:: |
| 133 | 133 |
| 134 tal:attributes="id string:confirm_$name; name string:@confirm@$name; readonly not:edit_ok" value=""> | 134 tal:attributes="id string:confirm_$name; name string:@confirm@$name; readonly not:edit_ok" value=""> |
| 135 | 135 |
| 136 This will change the id to ``confirm_password``. | 136 This will change the id to ``confirm_password``. |
| 137 | |
| 138 Merge changes from devel template task.index.html (optional) | |
| 139 ------------------------------------------------------------ | |
| 140 | |
| 141 The devel template's ``task.index.html`` has some fields that are not | |
| 142 defined in the schema. It looks like it was originally copied from the | |
| 143 ``bug.index.html``. If the task index is requested without specifying | |
| 144 the columns/fields, the template will crash trying to display | |
| 145 ``severity`` and other fields that don't exist in the task schema. | |
| 146 | |
| 147 In normal use, the left hand menu for tasks always specifies valid | |
| 148 columns so you may not see this issue. However if you remove the | |
| 149 ``@columns`` query parameter, you can see the error. | |
| 150 | |
| 151 The removed columns are: severity, versions, keywords, dependencies. | |
| 152 | |
| 153 It is also missing the ``solves`` field which is added to match the | |
| 154 schema. | |
| 137 | 155 |
| 138 Bad Login Rate Limiting and Locking (info) | 156 Bad Login Rate Limiting and Locking (info) |
| 139 ------------------------------------------ | 157 ------------------------------------------ |
| 140 | 158 |
| 141 Brute force logins have been rate limited in the HTML web interface | 159 Brute force logins have been rate limited in the HTML web interface |
