vvidday / pe

0 stars 0 forks source link

Setting deadlines multiple parameter behaviour differs from UG #5

Open vvidday opened 1 year ago

vvidday commented 1 year ago

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

soc-pe-bot commented 1 year ago

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

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]