Closed Bug 1214743 Opened 10 years ago Closed 10 years ago

Template problem with first_date in new TCBS

Categories

(Socorro :: Webapp, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: adrian)

Details

This code assumes it's always there https://github.com/mozilla/socorro/blob/b4f2a1fa6f65c5967cdfae6eb1bb22eb0779a068/webapp-django/crashstats/topcrashers/templates/topcrashers/topcrashers.html#L170-L174 But this code allows it to not exist https://github.com/mozilla/socorro/blob/b4f2a1fa6f65c5967cdfae6eb1bb22eb0779a068/webapp-django/crashstats/topcrashers/views.py#L334-L336 Incidentally, when I tried a third time to run it so I can print debug that the `sig` value was, it worked. Nevertheless, there's a logic flaw in the view code and the template.
Priority: -- → P2
Summary: Template problem with first_date in new TCPS → Template problem with first_date in new TCBS
Status: NEW → ASSIGNED
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/9b410d1202bad0c7da387c236edc455461018808 Fixes bug 1214743 - Fixed error when no first date for a signature. r=peterbe
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.