In bugzilla cron job, account for ']' sign in signatures

RESOLVED FIXED

Status

RESOLVED FIXED
a year ago
a year ago

People

(Reporter: adrian, Assigned: adrian)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

a year ago
There is a bug with Objective C signatures in our bugzilla cron job. Things like ``objc_msgSend | -[NSMenu performKeyEquivalent:]`` contain a `]` sign, and our job looks for the first one of them (because signatures in the bugzilla Crash Signature field appear like this: [@ signature ]

For the above-mentioned case, it means the signature will be considered to be ``objc_msgSend | -[NSMenu performKeyEquivalent:``, and that doesn't match anything.

Comment 1

a year ago
Commit pushed to master at https://github.com/mozilla-services/socorro

https://github.com/mozilla-services/socorro/commit/7234fe601e1637bd6537fc5b90f3f732ea901264
Fixes bug 1366814 - Accept square brackets in signatures in bugzilla … (#3806)

* Fixes bug 1366814 - Accept square brackets in signatures in bugzilla cron job.

* Added comments, used parametrize to generate unit test.

Updated

a year ago
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.