Edgewall Software

Ticket #7106 (new defect)

Opened 9 months ago

Last modified 8 months ago

File attachment 'added' time is incorrect

Reported by: robert.nadler@… Owned by: cboos
Priority: normal Milestone: 0.13
Component: attachment Version: devel
Severity: normal Keywords:
Cc:

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 8 months ago.
sample file to see if problem with timestamps can be replicated

Change History

Changed 8 months ago by sid

sample file to see if problem with timestamps can be replicated

Changed 8 months 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.

Add/Change #7106 (File attachment 'added' time is incorrect)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from cboos. Next status will be 'new'
The owner will change from cboos to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.