Open Bug 1285998 Opened 8 years ago Updated 5 years ago

Provide search field for cf_crash_signature that searches inside each crash signature specially

Categories

(bugzilla.mozilla.org :: Search, enhancement)

Production
enhancement
Not set
normal

Tracking

()

People

(Reporter: dylan, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: bugzilla-search)

Crash signatures can be in the form of [@ FOO], [ @ FOO ], and variations of that theme. It would be nice if a user could just search for "FOO" and return those. This is possible with a custom search field
I find things by searching for "FOO". Here's some working code:

    var params = {
        include_fields: 'id,summary,status,resolution',
        f1: 'cf_crash_signature',
        o1: 'casesubstring',
        v1: signature,
    };
    $.getJSON('https://bugzilla.mozilla.org/rest/bug', params)

That `signature` there is not `[@` or anything like that.
Peter, I believe the issue with your query is that it will not only match "FOO", but any signature that contains "FOO".
For example, for the signature 'js::' you would match bug 1280591 (correctly), but also bug 1259214 (incorrectly).
(In reply to Marco Castelluccio [:marco] from comment #2)
> Peter, I believe the issue with your query is that it will not only match
> "FOO", but any signature that contains "FOO".
> For example, for the signature 'js::' you would match bug 1280591
> (correctly), but also bug 1259214 (incorrectly).

Yeah. That makes sense. I figured that out later. Realistically, WE have few signatures that are subsets of others.
Type: defect → enhancement
Assignee: dylan → nobody
You need to log in before you can comment on or make changes to this bug.