Filtering on version not working
gauche
Posted on
Jun 22 2017
Hi,
I have set a filter thusly:
Filter type: Version
Filter rule: Versions <= 836 / 1.9.0.836
And yet I'm still receiving errors for versions exactly matching that (836 / 1.9.0.836
). What gives?
I noticed the error report I just received says it occurred a day ago (before I added the filter), so I guess someone just started the app again and Raygun client is submitting it retrospectively, but surely the filtering rule doesn't care about when the crash actually occurred?
Thanks
Deleted User
Raygun
Posted on
Jun 22 2017
Hi there,
The less than or greater than filters only work with a single build number or version number, not both specified together. To get this to work you'll need to specify the filter like:
Filter type: Version
Filter rule: Build number <= 836
or
Filter type: Version
Filter rule: Version <= 1.9.0.836
You can also specify them both as the filters will match any rule.
Cheers.
gauche
Posted on
Jun 22 2017
Hi,
I already tried that on a hunch (I feel like I've had this problem in the past) and it says "Invalid version number" even though I specify 836
as the number :/
That said, adding a filter with 1.9.0.836
as the version number does work. But I assume I need both in order to properly filter this stuff out, right?
Deleted User
Raygun
Posted on
Jun 22 2017
To use the build number, you need to use the "Build number" option on the version filter.
Filter rule: Build number <= 836
Either would work, you don't need both. Our filtering process can recognize a version in the format "836 / 1.9.0.836" and will split it into the two parts. If there is a version filter defined it will compare to the version number (1.9.0.836). If there is a build number filter defined it will compare to the build number (836).
gauche
Posted on
Jun 23 2017
Thanks for the help.
Our filtering process can recognize a version in the format "836 / 1.9.0.836" and will split it into the two parts
Except that it didn't with the <=
operator. I can't be the only person that finds the filtering in Raygun completely confusing...? Really I just want to enter an expression like version <= '836 / 1.9.0.836' AND tag NOT 'UnhandledException'
PS. Blockquote formatting doesn't seem to be working...
Deleted User
Raygun
Posted on
Jun 23 2017
Sorry I was referring to the back-end processes. When a crash report comes through with a version like "836 / 1.9.0.836" then we split this into the two version parts. The version number and build number. Then if there is a rule set up for either part we do the comparison.
I'm sorry that you find it confusing, but the system also needs to cater for applications that just specify a version number like "1.9.0" or even something as simple as "2". Therefore we need the user of the application to be specific about what they want to compare, the version or the build number so they we don't discard more than the user expected.