vvidday/pe

Setting deadlines multiple parameter behaviour differs from UG

Opened this issue · 1 comments

Steps to reproduce

  1. Execute the task do /by .. command with multiple parameters, e.g. task do 1 by/wednesday friday saturday

Expected

  1. As stated in the UG, "If a parameter is expected only once in the command, but you specified it multiple times, only the last occurrence of the parameter will be taken."
  2. Hence, "saturday" should be taken instead.

Actual

  1. "wednesday" is taken as the date.

Screenshot / Video

Screenshot 2022-11-11 at 4.57.18 PM.png

Screenshot 2022-11-11 at 4.57.37 PM.png

Team's Response

As per the UG, only if the full parameter (including its corresponding keyword) is specified will this apply. In your example, if the command was task do 1 by/wednesday by/friday by/saturday instead, then you would be right to expect the outcome described. This is indeed what happens if you used that command.

Items for the Tester to Verify

❓ Issue response

Team chose [response.Rejected]

  • I disagree

Reason for disagreement: [replace this with your explanation]