Mercurial > p > roundup > code
diff CHANGES.txt @ 6428:32a04dc87b30
Make HTMLClass::history signature compatible to _HTMLItem::history
_HTMLItem::history accepts 4 optional named parameters. If a template
(e.g. issue.item.html) calls history with a named param and then is
called in the context of creating a new issue, you get a traceback.
Change HTMLClass::history to accept any named parameter so
adding new named params to _HTMLItem::history doesn't
require a change to HTMLClass::history.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 04 Jun 2021 07:28:18 -0400 |
| parents | f08907bfd5a1 |
| children | ff4ab763f47c |
line wrap: on
line diff
--- a/CHANGES.txt Thu Jun 03 21:48:28 2021 -0400 +++ b/CHANGES.txt Fri Jun 04 07:28:18 2021 -0400 @@ -125,6 +125,8 @@ - Fix find() with anydbm. Using protected properties raised KeyError. Add shortcut fast return. Both changes come from rdbms_common.py's find(). (John Rouillard) +- Fix traceback caused by calling history() with arguments in a + non-item context. Features: - issue2550522 - Add 'filter' command to command-line
