Code

Opened 6 years ago

Closed 6 years ago

#7337 closed (invalid)

Add server date and time to manager emails sent out for server errors (500)

Reported by: Ed Menendez <ed@…> Owned by: nobody
Component: Core (Other) Version: master
Severity: Keywords: 500 error email
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The server time should be included in emails for time sensitive errors. Sometimes emails get delayed and exact error date/time info is lost.

Attachments (2)

base.py (6.9 KB) - added by Ed Menendez <ed@…> 6 years ago.
Change to base.py
7337.diff (1.1 KB) - added by JimDabell 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by Ed Menendez <ed@…>

Change to base.py

comment:1 Changed 6 years ago by Ed Menendez <ed@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

line 126 added and 132 changed

Changed 6 years ago by JimDabell

comment:2 Changed 6 years ago by JimDabell

  • Has patch set

Ed, the best way of submitting a patch is to edit the files you want, and then run svn diff to generate a patch. So if, for example, you want to save the patch in your home directory, you might run something like:

svn diff > ~/django-fix.diff

You can then attach that file and Trac will automatically highlight the lines that have changed. I've attached your changes as a patch so you can see how it works.

Having said that, I don't believe this is a bug that needs fixing. The emails that are sent already include a proper Date header that is added in /django/core/mail.py. It sounds like you have your mail client configured to display the date received rather than the date sent.

comment:3 Changed 6 years ago by Ed Menendez <ed@…>

  • Resolution set to invalid
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


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

 
Note: See TracTickets for help on using tickets.