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

The payload sends the exact format received from the component which differs to what the backend is expecting #1468

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

Comments

@hlayisanimazuze
Copy link
Collaborator

hlayisanimazuze commented May 8, 2024

If a user configure the dateTime format different to what the backend is expecting, the payload sends the exact format received from the component and the backend rejects it.

Steps to reproduce the behavior:

  1. Go to 'https://function-adminportal-test.shesha.dev/dynamic/TestModule/fileTest-table'
  2. Open developer console
  3. Click on 'Default' button
  4. Enter the details and submit
  5. Check the payload
  6. Actual Results: The payload sends the exact format received from the component

Expected behavior
Component should display the value in the configured format but store it as a date and send it to the back-end always in the ISO format

image

image

This also impact the dynamic filtering: https://function-adminportal-test.shesha.dev/dynamic/Boxfusion.SheshaFunctionalTests.Common/testform1-create?mode=edit. Select payment date and check the endpoint

@hlayisanimazuze hlayisanimazuze added the bug Something isn't working label May 8, 2024
AlexStepantsov added a commit that referenced this issue May 20, 2024
…differs to what the backend is expecting #1468

Datefield formatting (DD-MM-YYYY) data doesn't match endpoint data/what has been selected #1166
AlexStepantsov added a commit that referenced this issue May 20, 2024
The payload sends the exact format received from the component which differs to what the backend is expecting #1468
AlexStepantsov added a commit that referenced this issue May 20, 2024
…load bug #1543

Dyanamic dateField filtering sends the incorrect format expected by the endpoint bug #1542
Date not selectable during inline editing when show time property is enabled bug urgent #1541
The payload sends the exact format received from the component which differs to what the backend is expecting bug urgent #1468
Datefield formatting (DD-MM-YYYY) data doesn't match endpoint data/what has been selected bug #1166
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

3 participants