Closed
Bug 564196
Opened 14 years ago
Closed 14 years ago
Truncate signatures which are too long so that they don't say (no signature)
Categories
(Socorro :: General, task)
Tracking
(Not tracked)
RESOLVED
FIXED
1.7
People
(Reporter: benjamin, Assigned: lars)
References
Details
http://crash-stats.mozilla.com/report/index/07e2e1d6-d49e-412d-88af-8aa942100506 The signature is too long. I would be perfectly fine with truncating it at 255/254 characters: it has more than enough data to be unique.
Assignee | ||
Comment 1•14 years ago
|
||
that was simple... if len(processor_notes) > 255: processor_notes = '%s...' % processor_notes[:252] this will appear in 1.7
Assignee: nobody → lars
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.7
Reporter | ||
Comment 2•14 years ago
|
||
Does that truncate the signature, or the processor_notes field?
Assignee | ||
Comment 3•14 years ago
|
||
eh, wrong paste buffer. That was the code fragment used as the template for the signature change. If I had copied the right code, it would have looked like this: if len(reportRow['signature']) > 255: reportRow['signature'] = '%s...' % reportRow['signature'][:252]
bugzilla doesn't support 256 character long signatures. please try to truncate closer to 128 or 200
Updated•13 years ago
|
Component: Socorro → General
Product: Webtools → Socorro
You need to log in
before you can comment on or make changes to this bug.
Description
•