VATUSA / current

VATUSA Main Website
https://www.vatusa.net
Other
14 stars 10 forks source link

Editing training records duplicates all newlines #44

Open erikquinn opened 3 years ago

erikquinn commented 3 years ago

Contact Details

ta@zmaartcc.net

What happened?

When editing a training record, regardless of what changes are made (including no changes), upon saving the edited record, additional whitespace will be added between all newlines. Where bulleted lists exist, this also includes adding a new, empty bullet. Editing the record should not affect the whitespace/formatting like this.

Further edits will continue indefinitely increasing the whitespace (which is where it really starts to get silly).

How can it be reproduced?

  1. Find any training record, and select "Edit".
  2. If desired, make some changes to the record. This is not necessary for reproduction of the bug.
  3. Press "Submit".
  4. The dialog will not self-close, so when the edit completes, press "Cancel" to close. (this is also a bug, I suppose)
  5. Re-open the training record.
  6. Observe the undesirable changes to whitespace.

What browsers are you seeing the problem on?

Google Chrome, Version 92.0.4515.107 (Official Build) (64-bit)

Screenshots

Before: ORIGINAL

After saving with no changes: edited