New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provisioning input data partially lost #2835
Comments
This issue has been automatically marked as stale because it has not been updated for at least 6 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! |
@kruge002 is this still a valid issue? If yes, lease remove the stale label. If not can you close. |
@JPrause I have just checked the issue in the Gaprindashvili release of ManageIQ so I believe this is still a problem. I cannot remove the stale label because my privileges are too restricted for that. Please add the "bug" label and the "Gaprindashvili" label. |
Thanks @kruge002 |
@JPrause When testing the Hammer release I noticed the issue is still present so the bug is not yet fixed. The data as entered in the frontend form should be leading, not the data that is posted to the backend every 0.5 seconds after any keypress. This way of processing form data is asking for trouble. |
Thanks @kruge002 for checking the Hammer release. I removed the stale label so this will get another lease on life. |
This issue has been automatically marked as stale because it has not been updated for at least 6 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! |
This issue has been automatically marked as stale because it has not been updated for at least 3 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! More information about the ManageIQ triage process can be found in the traige process documentation. |
This issue has been automatically marked as stale because it has not been updated for at least 3 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation. |
We notice partial loss of input data at the Provisioning form when clicking a radio button (form refreshing) within a few seconds after entering data at an input field. A timer wheel shows and the form refreshes but the last few characters typed are gone.
We are using Fine-3.
Steps to reproduce the error:
When typing at a lower pace you sometimes see that the first digits are saved and the last few entered digits are lost when directly after entering the digits the empty radio button is clicked.
The same problem happens on e.g. the Customization tab where a users enters a password and immediately after clicks the DHCP/Static radio button. This results in an unusable VM because the password the user entered is not the same as what is saved in manageIQ.
Investigation:
Each input field has a property "data-miq_observe={interval:0.5, url:/miq_request/prov_field_changed/new}".
Using Fiddler web debugging we see the above url is repeatedly requested containing the updated value of the input field. So each update of the Provisioning form is sent to the server when the user stops typing for 0.5 seconds or more.
When the radio button is updated quickly after entering data into an input field the serverside formdata is not yet updated when the radio button update request arrives at the server and refreshes the form. The form is updated using not yet updated serverside formdata. This results in the loss of data entered right before clicking the radio button.
The text was updated successfully, but these errors were encountered: