bcgov / foi-file-conversion

Apache License 2.0
0 stars 0 forks source link

Select 'Start Date' before 'Received Date' #22

Closed lmullane closed 3 years ago

lmullane commented 3 years ago

Describe the bug in current situation This bug was part of the stories acceptance criteria (i.e. AC not met).

When editing the 'Start Date' for a request, the user can select a start date before the 'Received Date'

Link bug to the User Story

77

Impact of this bug Impacts all users, but user unlikely to select 'Start Date' before 'Received Date'. They can also correct the error.

Impact is low.

Chance of Occurring (high/medium/low/very low) Low - see above

Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?

Steps to Reproduce Steps to reproduce the behavior:

  1. Go to a request view (e.g., https://test-foirequest.apps.silver.devops.gov.bc.ca/foi/reviewrequest/32 )
  2. Click on calendar icon for 'Start Date'
  3. Click 'Start Date' before 'Received Date'
  4. See error

Actual/ observed behaviour/ results

Expected behaviour GIVEN has the 'Start Date' calendar open WHEN the user clicks on any 'Start Date' after the selected 'End Date' (can choose the same date) THEN the date will be greyed out and cannot be selected

Screenshots/ Visual Reference/ Source Screen Shot 2021-07-26 at 10.20.26 AM.png

lmullane commented 3 years ago

Note, for bugs where the AC was not met in the original story then there should not be additional story points (i.e. the effort should be covered in the original estimation for the story) for the bug ticket. cc @abin-aot @m-prodan