Edgewall Software
Modify

Ticket #5357 (closed defect: duplicate)

Opened 5 years ago

Last modified 5 years ago

Unable to view tickets that contain files attached to them

Reported by: anonymous Owned by: jonas
Priority: normal Milestone:
Component: ticket system Version: devel
Severity: major Keywords:
Cc:
Release Notes:
API Changes:

Description

I am able to attach files to new tickets without any errors reported. The attached files seem to be stored in mysql database (running select * from dbname reports the attached files). However, the content of the ticket after it is submitted cannot be viewed at all and trac reports an internal error:


Oops…
Trac detected an internal error:
UndefinedError?: {'status': 'radio', 'description': 'textarea', 'reporter': 'text', 'cc': 'text', 'resolution': 'radio', 'component': 'select', 'summary': 'text', 'priority': 'select', 'keywords': 'text', 'version': 'select', 'milestone': 'select', 'owner': 'text', 'type': 'select'} has no member named "attachment"


Python Traceback
Most recent call last:


File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5194-py2.4.egg/trac/ticket/templates/ticket.html", line 191, in <Expression '?'> <li py:for="field_name, field in change.fields.items()"


System Information:
Trac: 0.11dev-r5194
Python: 2.4.3 (#2, Oct 6 2006, 07:52:30) [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)]
setuptools: 0.6c5
MySQL: server: "5.0.22-Debian_0ubuntu6.06.2-log", client: "5.0.22", thread-safe: 1
MySQLdb: 1.2.1g3
Genshi: 0.4dev-r532
Subversion: 1.3.1 (r19032)

Attachments

Change History

comment:1 Changed 5 years ago by cboos

  • Milestone 0.11 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

See #5099.

Such issues (Genshi strictness checking) should be all fixed by now (r5480, i.e. circa 200 changesets later ;-)).

Please reopen if that's not the case.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.