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

Dynamic dateField filtering sends the incorrect format expected by the endpoint #1542

Closed
hlayisanimazuze opened this issue May 20, 2024 · 1 comment
Assignees
Labels
bug Something isn't working ready for testing

Comments

@hlayisanimazuze
Copy link
Collaborator

If the dateField filter is based on the dynamic selection such as {{data.selectedDate}}, the value shown on the payload is different to what the endpoint expects

Steps to reproduce the behavior:

  1. Go to 'https://function-adminportal-test.shesha.dev/dynamic/Boxfusion.SheshaFunctionalTests.Common/testform1-create?mode=edit'
  2. Open developer console
  3. Click on 'Payment Date' and select a date to filter with
  4. Check the getAll endpoint
  5. Actual Results: The endpoint failed because the value passed on the payload is different to what the endpoint expects

Expected behavior
The correct format should be passed through

image
Error trying to resolve field 'membershipPaymentList'.
Inner Exception: The binary operator LessThanOrEqual is not defined for the types 'System.String' and 'System.DateTime'.
@hlayisanimazuze hlayisanimazuze added the bug Something isn't working label May 20, 2024
@hlayisanimazuze
Copy link
Collaborator Author

Related item
##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
@hlayisanimazuze hlayisanimazuze changed the title Dyanamic dateField filtering sends the incorrect format expected by the endpoint Dynamic dateField filtering sends the incorrect format expected by the endpoint May 20, 2024
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