-
Notifications
You must be signed in to change notification settings - Fork 140
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
Make event report date editable [0.5] #4175
Comments
This is a prerequisite for #3004. |
At event creation, users has to provide the report date just as in case creation. @kwa20 @MateStrysewske |
@MateStrysewske Sine the specification is the summary, I added a point on date validation. Hope this is OK? |
@bernardsilenou Adjusted it a little. We can't force the event end date to be before the report date because that would prevent users from creating ongoing events that are scheduled to be over at a specific point in time (e.g. festivals). |
@MateStrysewske You are right, that is why i added the condition that the multiday event ==t. Because if multiday event == f, then the date of event is mapped to the end date. if multiple day event ==f, then the end date is always NA |
* #4175: Make event report date editable * Make event reportdate in androidapp editable #4175 * Remove accidental change #4175 Co-authored-by: Christopher Riedel <42139870+ChristopherRiedelSymeda@users.noreply.github.com> Co-authored-by: Seal33 <klausbart@gmx.net> Co-authored-by: DavidB <david.baldsiefen@gmx.de>
Validated ticket on the latest version of Sormas 1.60.0-snapshot on local environment setup |
Feature Description
Events have both a report date as well as an event date. Unlike the event date, the report date is not editable.
Problem Description
Since the event date is not mandatory, we have to fall back to the report date when we want to filter events by date, e.g. for the dashboard. This is problematic for things like retrospective data.
Proposed Change
validate
method toEventFacadeEjb
that is called duringsaveEvent
that ensures that the report date is not empty (similar process as for cases)Possible Alternatives
Additional Information
The text was updated successfully, but these errors were encountered: