mozilla / m-response

Crowdsourcing Mozilla responses to Google Play Store reviews
Mozilla Public License 2.0
12 stars 10 forks source link

Pressing RESPOND button without writing anything saves a new response #520

Open mMARUF opened 4 years ago

mMARUF commented 4 years ago

Steps to Reproduce:

  1. Go to the Respond Tool dashboard (https://respond.mozilla.community/dashboard/) and we will see Respond and Moderate button

  2. Press the Respond button to start responding

  3. Inside the Respond page, press the Respond button so that the writing area for the Response opens

  4. Write nothing and press DONE

  5. Press SUBMIT FOR MODERATION button.

Actual Result:

The system saves a new response for that particular question

Same problem occurs, when you have written a response for a particular question and by mistake pressed the Submit for Moderation - button twice. Then a completely new question response gets submitted without any writing any response.

Expected Result:

The system should have not saved a new response. A warning should be there that "You need to write something before submitting".

Respon Tools Bug