Closed himeshr closed 1 week ago
@himeshr I was unable to reproduce this issue on prerelease? Can you add 'steps to reproduce'?
@himeshr I was unable to reproduce this issue on prerelease? Can you add 'steps to reproduce'?
@nupoorkhandelwal please add the steps to reproduce and then remove the WIP prefix from the title of the card.
Steps to reproduce as per Adam: You can try to save two form elements at once or create a new form element group and form element inside it then save them at once not separately. This error is not coming every time.
Issue was due to duplicate POST /forms
API calls being triggered from webapp (since the api call was triggered within render()
and the component was being re-rendered). Depending on the timing of the duplicate call, this issue was occurring intermittently or being treated as an update on the server. Data was still being saved successfully but the error message from the duplicate call response was being shown.
Check that validations and save works as before.
Describe the bug I'm getting this error, not every time but pretty often. It happens when I try to save two form elements at once or when I create a new form element group and form element together simultaneously. Despite the error, everything seems to be saving correctly.
Why prioritised These kinds of failures are affecting the speed of implementation team impacting the costs.
To Reproduce env: prod, any org
Getting this error, not every time but pretty often. Not easy to reproduce this issue.
AC: Should save without showing the error.
Screenshots![Image](https://github.com/avniproject/avni-webapp/assets/10369963/383846f2-d3a5-4b82-b6bf-d1e3bcd60dea)