I just noticed a inconsistent and most likely wrong behavior while editing my Stack Overflow Careers profile.
Used browser: Google Chrome Version 40.0.2214.94 (64-bit)
Steps to reproduce:
Create or edit an
Certifications
entry, make sure that it contains at least one tag entry underTechnologies
.Save the entry. The tag now shows up under the entry.
Click
edit
on the entry. Then click the littlex
on the tag to mark it for removal.Click
Cancel
to abort editing. You return to the overview and the tag is still there.Click
edit
again. The tag is not there, and there is no way to restore it unless you reload the page content some way. Expected behavior: The view content should be reloaded when clicking edit.
This could potentially lead to hazardous edits, when the user expects to reset the state via Cancel->edit
, continues to edit and then submits an erroneus state to the server.
Edit: I just tried submitting the "broken" state with the missing tag, this does actually not cause the tag to be deleted after saving. Seems like the error is purely visual.