mozilla / experimenter

A web application for managing user experiments for Mozilla Firefox.
https://experimenter.services.mozilla.com
Mozilla Public License 2.0
121 stars 186 forks source link

Comments can wrongly be saved if only empty spaces are inserted in the input field #1028

Closed Softvision-RemusDranca closed 5 years ago

Softvision-RemusDranca commented 5 years ago

[Affected versions]:

[Affected Platforms]:

[Prerequisites]:

[Steps to reproduce]:

  1. Open the browser with the profile from prerequisites and navigate to "https://experimenter.stage.mozaws.net/".
  2. Open the created experiment from prerequisites.
  3. Click the "+ Add Comment" button from the "Overview" section.
  4. Insert an empty space in the input field.
  5. Click the "Save Comment" button and observe the behavior.

[Expected result]:

[Actual result]:

[Notes]:

shell1 commented 5 years ago

it's not saving in Stage, so no longer reproducable. I'm almost OK if this happens once in a while too.

Softvision-RemusDranca commented 5 years ago

I have verified this issue and is no longer reproducible on Experimenter stage "https://stage.experimenter.nonprod.dataops.mozgcp.net/" website. Tested on Windows 10 x64, Mac 10.14 and Arch Linux 4.16.6 x64.