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

Date validation fails when creating a visit for a contact with a date earlier than the report date #2797

Closed
xavier-calland opened this issue Sep 3, 2020 · 2 comments · Fixed by #2829
Labels
bug An error or misbehavior of an existing feature (ticket type) contacts qa-verified Issue has been tested and verified by QA

Comments

@xavier-calland
Copy link
Contributor

xavier-calland commented Sep 3, 2020

Bug Description

Date validation fails when creating a visit for a contact with a date earlier than the report date.

Steps to Reproduce

  1. Create a contact (report date is today)
  2. Add a visit with an earlier date
  3. Click "Save" button
    → Error: An error has occurred The error was automatically reported to the support.

Expected Behavior

Save form without error

Screenshots

System Details

  • Device: Browser
  • SORMAS version: 1.47
  • Browser: any

Additional Information

Bug from fef08a2#diff-50789c99ceb572437365f69e8701a0c7R151

use of caze variable even while creating a visit for a contact.

@xavier-calland xavier-calland added the bug An error or misbehavior of an existing feature (ticket type) label Sep 3, 2020
@xavier-calland
Copy link
Contributor Author

@MateStrysewske PR coming soon.

@AndyBakcsy-she
Copy link

Verified issue on SORMAS Version: 1.48.0-SNAPSHOT
This functionality works as expected.

@AndyBakcsy-she AndyBakcsy-she added the qa-verified Issue has been tested and verified by QA label Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error or misbehavior of an existing feature (ticket type) contacts qa-verified Issue has been tested and verified by QA
Projects
None yet
3 participants