xwikisas / application-meeting

Application to handle meetings
0 stars 7 forks source link

Warning message related to End Date selection is displayed before the user can make any selection #88

Closed ilieandriuta closed 2 years ago

ilieandriuta commented 3 years ago

Environment: Windows 10 Pro 64bit, Edge 94, using an instance of XWiki 13.8 on Tomcat 8.5/ PostgreSQL 13 (Docker) with Meeting Application (Pro) 1.11.2

STEPS TO REPRODUCE

  1. Create a new meeting
  2. Click on Start Date field and select the current date/time (which is automatically selected in the field when clicking it)
  3. Click on End Date field

EXPECTED RESULTS

The date picker from which an End Date/time can be selected is displayed. No other messages are displayed.

ACTUAL RESULTS

As soon as the End Date field is clicked, a red message is displayed on the bottom of the page: "The selected end date is before the start date of the meeting", although the current date/time is selected automatically in the field when was clicked on (being the same date/time from the Start Date field) and the user didn't make any date/time selection so far.

The End Date/time should be compared to the Start Date/time only after the date picker is closed and red message should be displayed only then, if the case.

Meeting_red_warning_message