#9122 closed defect (fixed)
Cannot create any ticket
Reported by: | Owned by: | Remy Blank | |
---|---|---|---|
Priority: | normal | Milestone: | 0.12 |
Component: | ticket system | Version: | 0.12dev |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I cannot create any ticket at all after the installation. When I clicked the Ticket menu at the top right of the screen, I got this error:
Trac detected an internal error: TemplateRuntimeError: "when" directives can only be used inside a "choose" directive (/root/.python-eggs/Trac-0.12dev_r9334-py2.6.egg-tmp/trac/ticket/templates/ticket.html, line 360)
By the way, this is my second installation (I tried the latest 0.11 before and then removed it). I'm using Slackware 13.
System Information: User Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 Trac: 0.12dev-r9334 Genshi: 0.6dev-r1096 MySQL: server: "5.0.84", client: "5.0.84", thread-safe: 1 MySQLdb: 1.2.3c1 Python: 2.6.2 (r262:71600, Jun 9 2009, 17:15:39) [GCC 4.3.3] setuptools: 0.7a1 Subversion: 1.6.4 (r38063) jQuery: 1.4.2
Attachments (1)
Change History (6)
by , 15 years ago
comment:1 by , 15 years ago
Milestone: | → 0.12 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 by , 15 years ago
Owner: | set to |
---|
follow-up: 5 comment:4 by , 15 years ago
A bit strange that the functional tests didn't catch this…
Create a ticket, comment on it, and attach a file ... ok
comment:5 by , 15 years ago
Replying to cboos:
A bit strange that the functional tests didn't catch this…
That's probably because the issue doesn't show if you're logged in, only for anonymous users, and IIRC we run most of our functional tests as a logged-in user.
Time to add more tests! :-)
Python traceback