diff 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
line wrap: on
line diff
--- a/doc/upgrading.txt	Sat Nov 04 21:09:21 2023 -0400
+++ b/doc/upgrading.txt	Sun Nov 05 22:31:40 2023 -0500
@@ -135,6 +135,24 @@
 
 This will change the id to ``confirm_password``.
 
+Merge changes from devel template task.index.html (optional)
+------------------------------------------------------------
+
+The devel template's ``task.index.html`` has some fields that are not
+defined in the schema. It looks like it was originally copied from the
+``bug.index.html``. If the task index is requested without specifying
+the columns/fields, the template will crash trying to display
+``severity`` and other fields that don't exist in the task schema.
+
+In normal use, the left hand menu for tasks always specifies valid
+columns so you may not see this issue. However if you remove the
+``@columns`` query parameter, you can see the error.
+
+The removed columns are: severity, versions, keywords, dependencies.
+
+It is also missing the ``solves`` field which is added to match the
+schema.
+
 Bad Login Rate Limiting and Locking (info)
 ------------------------------------------
 

Roundup Issue Tracker: http://roundup-tracker.org/