Closed Bug 1366814 Opened 7 years ago Closed 7 years ago

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

Categories

(Socorro :: Backend, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adrian, Assigned: adrian)

Details

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.
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.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.