Closed Bug 658112 Opened 13 years ago Closed 13 years ago

runOrNotFunc returning false still has data being submitted

Categories

(Mozilla Labs Graveyard :: Test Pilot, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 658134

People

(Reporter: Mardak, Unassigned)

Details

I'm looking through some initial results and some are missing metadata. I noticed that the ones missing study-specific metadata are reporting locations like pt-BR and de.

So the study is correctly not running:

  runOrNotFunc: function() {
    let channel = Services.prefs.getCharPref("app.update.channel");
    let locale = Services.prefs.getCharPref("general.useragent.locale");
    return channel != "release" && locale == "en-US";
  },

But somehow they are submitting generic metadata.
Fyi, you can watch "test-pilot@mozilla-labs.bugs" to automatically get bugs relating to Test Pilot without having to be CC'd.
I wonder if this is related to the other bug you found, where 1.0.4 users would submit an empty event set even on studies that were supposed to be minimum 1.1.  Both runOrNot and minTPVersion are handled by the same code, which is not supposed to let the study run.

...but maybe there's an underlying bug where even a study that never ran can still be submitted?  That needs to be investigated.  Thanks for finding this problem.
Priority: -- → P2
Target Milestone: --- → 1.4
Oh turns out these non-enUS submissions seem to all have old test pilot. Duping to bug 658134.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Product: Mozilla Labs → Mozilla Labs Graveyard
You need to log in before you can comment on or make changes to this bug.