mozilla / normandy

Firefox recipe server
https://wiki.mozilla.org/Firefox/Recipe_Server
Mozilla Public License 2.0
55 stars 46 forks source link

The first preference added to the branch is removed if the second one added was identical at any point #2331

Closed SoftVision-SimonaRosu closed 3 years ago

SoftVision-SimonaRosu commented 3 years ago

[Prerequisites]:

[Steps to reproduce]:

  1. Open the Normandy Devtools and choose the Stage environment.
  2. Create a new multi-preference-experiment and populate the fields with valid data.
  3. Add a preference to the “Branch” section. (e.g. “browser.newtabpage.activity-stream.showSearch_c”)
  4. Add same preference a second time and add extra characters to it (e.g. “browser.newtabpage.activity-stream.showSearch_cbd”)
  5. Click the "Save" button and observe the behavior.

[Expected result]:

[Actual result]:

[Notes]:

normandy_multipref_removed

mythmon commented 3 years ago

Is this a UI bug, or a server bug? UI bugs should be filed in the NDT repo. If it is a server bug, you could tell by looking at the network panel as you save the recipe. If the data sent to the server has the expected data, it is a server bug. If the data sent in the request is not the expected data, then this is a UI bug, and I can transfer it for you.

Open the browser and navigate to "delivery-console.stage.mozaws.net".

Delivery Console is gone now.

SoftVision-SimonaRosu commented 3 years ago

Sorry for the mistake, I’ve meant the Normandy Devtools. I will update the summary of this issue. I have retested this issue with the Network panel open and I can confirm to you that when pressing the “Save” button a “404” request is sent. There are also “200” requests, in which the initial pref was replaced from the recipe’s schema.

mythmon commented 3 years ago

I've made an issue on the NDT repository for this.