-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
7.4.0beta1 (master)
In case if user makes a mistake that would lead to an inline validation error, then he submits the form, notices his mistake, fixes it but in a way that it causes a different inline validation error, then after the loader symbol disappears, the old inline validation error is displayed until the user moves focus away from the field with the error.
Steps to reproduce:
- Create a host - specify as much fields as possible so that validating those fields would take time
- Open configuration of this host and move to tab "Encryption"
- Select PSK in "Connection to host" or "Connection from host" fields, or press "Change PSK button"
- Enter a valid value in "PSK identity" field
- Enter a value that consists of 31 hexadecimal characters and 1 non-hexadecimal character, for example: "1111111111111111111111111111111w"
- Click anywhere to get the initial inline error "PSK must contain only hexadecimal characters.".
- Press "Update" button
- While the loader is still present over the "Update" button, remove the non-hexodecimal symbol ("w" in the above example)
- Notice that the error changed to "PSK must contain only hexadecimal characters."
- Wait for the loader to disappear
Result: after the loader has disappeared, the initial error is displayed even though the content of the field doesn't have that error anymore. Once the user moves focus from the field with the error, the error message is changed to the correct one.
Expected: after the loader disappears, the error in the value of the field should match the error message.