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

If a form has a tab and button components configured, upon saving a 415 error gets displayed #1528

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

Comments

@hlayisanimazuze
Copy link
Collaborator

If a tab has multiple panes configured and button on the same form, upon saving unsupported media type error gets displayed

Steps to reproduce the behavior:

  1. Go to 'https://function-adminportal-test.shesha.dev/dynamic/TestModule/layout-details?id=750e9dd7-be30-4d1d-97e7-01bf82da0d07'
  2. Open developer console
  3. Click on 'Edit' pencil
  4. Update any field and click on 'Save'. Actual Results: An error gets thrown
  5. Navigate to the designer view: https://function-adminportal-test.shesha.dev/shesha/forms-designer?id=77c504a4-d723-4054-91b6-f0d070e1c115
  6. Remove the button/delete two of the tab panes and leave one
  7. Save your changes and try to update the record
  8. Actual Results: The record gets updated successfully if the tab component only has 1 tab pane, if it is more than that, the API fails

Expected behavior
The number of tab panes configured should not clash with the button. It should update successfully

image

@hlayisanimazuze hlayisanimazuze added the bug Something isn't working label May 15, 2024
AlexStepantsov pushed a commit that referenced this issue May 29, 2024
If a form has a tab and button components configured, upon saving a 415 error gets displayed #1528
If setFormData is used onInitialized, the value does not get appended onto the specified field in the form #1519
GetAuditTrail endpoint parameters are not working as expected #1511
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
Projects
None yet
Development

No branches or pull requests

2 participants