Edgewall Software

Opened 18 years ago

Closed 18 years ago

#1043 closed defect (fixed)

Get error by changeset 1108 when viewing attachment.

Reported by: anonymous Owned by: Christopher Lenz
Priority: normal Milestone: 0.9
Component: wiki system Version: devel
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christopher Lenz)

I've got error by exception when viewing attachment on wiki page. It is caused by modification of File.py in changeset 1108. I fixed like this:

Index: File.py
--- File.py	(revision 1120)
+++ File.py	(working copy)
@@ -145,7 +145,7 @@
             stat = os.fstat(fd.fileno())
             self.last_modified = time.gmtime(stat[8])
-            self.req.check_modified(self.last_modified)
+            self.req.check_modified(stat[8])
             self.length = stat[6]
             self.read_func = lambda x, f=fd: f.read(x)

Attachments (0)

Change History (2)

comment:1 by Christopher Lenz, 18 years ago

Description: modified (diff)
Milestone: 0.9
Owner: changed from Jonas Borgström to Christopher Lenz
Status: newassigned

comment:2 by Christopher Lenz, 18 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [1121]. Thanks!

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.