Skip to content
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

Endpoint fails when re-updating a form with a readOnly property without refreshing the page #2449

Closed
hlayisanimazuze opened this issue Nov 26, 2024 · 0 comments
Assignees
Labels
bug Something isn't working ready for testing urgent

Comments

@hlayisanimazuze
Copy link
Collaborator

hlayisanimazuze commented Nov 26, 2024

If a details view is updated and saved successfully, attempting to update the values again without refreshing the form causes the endpoint to throw an error, indicating that the readOnly property cannot be updated. This can be from additional fields to fetch or a readOnly field being added to the form.

Steps to reproduce the behavior:

  1. Go to 'https://functional-adminportal-test.azurewebsites.net/dynamic/TestModule/components-details?id=a863d661-e36d-40ae-8e38-23fcbb0467c8'
  2. Open developer console
  3. Click on 'edit' pencil
  4. Update the value
  5. Save the changes
  6. Click edit again
  7. Update the values
  8. Save the changes
  9. Actual Results: The endpoint displays 400 error status(your request is not valid, property fullName is readOnly). See attached video: https://jam.dev/c/4810d36e-5c91-4282-99fd-b1fcb8ee7fec

Expected behavior
Upon re-updating without refreshing, the endpoint should pass successfully without failing, just how it behaves the first time updating

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready for testing urgent
Projects
None yet
Development

No branches or pull requests

2 participants