Edgewall Software
Modify

Ticket #7106 (new defect)

Opened 4 years ago

Last modified 15 months ago

File attachment 'added' time is incorrect

Reported by: robert.nadler@… Owned by: cboos
Priority: normal Milestone: next-major-0.1X
Component: attachment Version: devel
Severity: major Keywords:
Cc:
Release Notes:
API Changes:

Description

Found in r6814.

The added time shown in the ticket is correct:

MTM1.log (1.6 kB) - added by admin 2 days ago.

but when you show the file, the added time is incorrect:

File MTM1.log, 1.6 kB (added by admin, 84 seconds ago)

The tool-tip timestamp is the same (and correct) on both.

Attachments

trac_logo.png (5.5 KB) - added by sid 4 years ago.
sample file to see if problem with timestamps can be replicated

Download all attachments as: .zip

Change History

Changed 4 years ago by sid

sample file to see if problem with timestamps can be replicated

comment:1 Changed 4 years ago by cboos

  • Milestone set to 0.12

Yeah, it's because we're sending a 304 response in this case (trunk/trac/attachment.py@6980#L622).

Maybe we can use the same approach as for changesets here (i.e. the less than one hour ago trick, trunk/trac/versioncontrol/web_ui/changeset.py@6980#L295), so that we can at the same time show a valid information to the user and minimize the number of page reloads.

comment:2 Changed 15 months ago by thijstriemstra

  • Severity changed from normal to major
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from cboos. Next status will be 'new'
The owner will be changed from cboos to anonymous. Next status will be 'assigned'
Author


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

 
Note: See TracTickets for help on using tickets.