chiaryan / pe

0 stars 0 forks source link

Editing dorm number with with changed time zone will cause application to throw #7

Open chiaryan opened 5 months ago

chiaryan commented 5 months ago

Steps to recreate:

  1. Simulate changing time zone by editing the system's date/time to the future
  2. edit a room number in the app
  3. change back to normal date/time
soc-pe-bot commented 5 months ago

Team's Response

While this was thought of, unless the user is purposefully trying to break the system, or manually changing their timezone for some godforsaken reason, it would take an international flight from a later timezone to an earlier timezone for this to occur. On top of that, the differences between timezones has to be larger than the length of the flight taken, and it has to be done in the specific window where the arrival time would actually be a day behind the departure time. What I'm trying to say is that given the frequency of travel of university students and the specific time requirements of the flight, the probability of this bug occurring is really low; the stars have to align for this to happen. Nonetheless, I do accept it as a bug as it could have been accounted for by fixing the timezone. The current solution would be to wait for a few hours (a maximum of difference between timezones - flight time) before using the application again. Due to the probability of this bug occurring, I would disagree with the severity, knocking it down to a medium.

Items for the Tester to Verify

:question: Issue severity

Team chose [severity.Medium] Originally [severity.High]

Reason for disagreement: [replace this with your explanation]