#412 - Ticket Update Stale Event Time
Type Defect
Status Fixed
Milestone 3.5
Version 3.4.2
Component -
Priority High
Severity Normal
Assigned to Jack
Reported 10 years ago
Updated 10 years ago
Votes 0
Related tickets
Proposed time
Worked time

What did you do to cause this?

Posted a comment to a ticket and accidentally changed the state.

After hitting submit, changed the state back and clicked submit a second time.

What page were you on?

Tickets page.

What PHP and MariaDB versions do you run?

MySQL: 5.1.73-1-log
PHP: 5.3.3-7+squeeze19

Describe the defect:

I noticed that the "how long ago" time for my second ticket action was identical to the first comment and state change.

I left the ticket back to the list of ticket and once again returned to the ticket in question. Made a new test comment and it showed a different time, but it was wrong - showing 30+ seconds ago immediately after the page refreshed.

It appears that the time of the event is being pulled from the end of the page load/session start rather than at the time the form submit actually takes place and that multiple consecutive submits will results in the multiple events sharing the same time.

Ticket History

10 years ago by Jack

  • Priority Normal High
  • Status New Accepted
  • Assigned to Jack
Jack closed as Fixed 10 years ago