Opened 11 years ago
Closed 11 years ago
#11733 closed defect (fixed)
UndefinedError when an error occurs if [project] admin_trac_url is empty
| Reported by: | Jun Omae | Owned by: | Jun Omae |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.12.6 |
| Component: | general | Version: | 0.12-stable |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: |
Fixed raising |
||
| API Changes: | |||
| Internal Changes: | |||
Description
[project] admin_trac_url in TracIni says;
Base URL of a Trac instance where errors in this Trac should be reported. This can be an absolute or relative URL, or '.' to reference this Trac instance. An empty value will disable the reporting buttons. (since 0.11.3)
However, stack trace is shown instead of disabling the reporting buttons. The issue occurs on both 0.12-stable and 1.0-stable.
...
File "home/jun66j5/venv/py24-0.12/lib/python2.4/site-packages/genshi/template/eval.py", line 178, in evaluate
File "/home/jun66j5/src/tracdev/git/trac/templates/error.html", line 102, in <Expression u'project.admin_href.newticket()'>
<form class="newticket" method="get" action="${project.admin_href.newticket()}#">
File "home/jun66j5/venv/py24-0.12/lib/python2.4/site-packages/genshi/template/eval.py", line 277, in _die
UndefinedError: None has no member named "newticket"
Originally reported at th:#9193 and th:comment:4:ticket:9988.
Attachments (0)
Change History (2)
comment:1 by , 11 years ago
| Milestone: | next-minor-0.12.x → 0.12.6 |
|---|---|
| Owner: | set to |
| Status: | new → assigned |



Proposed changes: jomae.git@t11733_0.12 and jomae.git@t11733_1.0.