bcgov / EPIC.track

Integration of formsflow.ai to EPIC for administration support
Apache License 2.0
4 stars 16 forks source link

Prevent Issues from being back dated after approval #2005

Closed djnunez-aot closed 6 months ago

djnunez-aot commented 7 months ago

Describe the bug Once an Issue/Status has been approved, no UPDATE to this Status/Issue can be "back-dated" and dates before the latest APPROVED UPDATE are greyed out

To Reproduce Steps to reproduce the behavior:

  1. Go to Issues Tab
  2. Find a current Issue
  3. Try to add an update, make the update IN THE PAST
  4. No save happens, no error message either

Expected behavior

We want to see an error message because UPDATES to an Issue (eg. the Cupcake Issue) should not happen in the past.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

image.png

connected to #1729

jadmsaadaot commented 6 months ago

Solved here https://app.zenhub.com/workspaces/epictrack-63891ea941d309001fa292cf/issues/gh/bcgov/epic.track/1729