WhisperBack prevents user from removing optional PGP keyblock once they have entered one
The code lives in https://git-tails.immerda.ch/whisperback.
Steps to reproduce
- Create a bug report.
- Add an optional email address.
- Click on “optional PGP key”.
- Add a valid PGP key block.
- Click “ok”.
- Click on “optional PGP key”.
- Remove the contents of the PGP key block.
- Click “ok”.
- A warning message appears saying “This doesn’t seem to be a valid URL or OpenPGP key.”
- Close the message and click “Cancel.”
- Click on “optional PGP key.”
Actual result and description of the error
The public key block is still present. If one tries to remove it, WhisperBack prevents the removal. Sometimes it crashes, too (can’t reproduce but happened a few times).
Desired result
There should be a way to empty the textbox in “optional PGP key” so that if the user changes his mind about giving email information with a PGP key, he can without having to close WhisperBack and rewriting all his bug information.
Attachments
Related issues
- Has duplicate #9227 (closed)
-
Blocked by #15440 (closed)
Original created by @emmapeel on 7797 (Redmine)