DummyClassOrg / main

dummy for issue
0 stars 2 forks source link

[648]Wrong error message shown #1612

Open nus-pe-script opened 5 years ago

nus-pe-script commented 5 years ago

Describe the bug When the available prefix in included in the wrong input, invalid format should show instead.

To Reproduce Steps to reproduce the behavior:

  1. Go to forum book
  2. login as admin
  3. type "deleteUser uName/John uName/admin uPass/123"
  4. See error

Expected behavior Detect invalid format and show error message

Screenshots image

Additional context Add any other context about the problem here.

OS and Java Version


[original: nusCS2113-AY1819S1/pe-2#659]


Comment by Meowzz95 Duplicate of #227



The following issue is claimed as the original:

Value of 2nd similar prefix are taken in

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to forum book
  2. login as admin
  3. type "announce aTitle/Urgent! aContent/System Maintenancefrom 4pm to 5pm. aContent/Testing"
  4. Announce content shown as Testing

Expected behavior The value of the first prefix should be taken in or the app should reject the input since it is invalid format.

Screenshots image

Additional context Add any other context about the problem here.

OS and Java Version


[original: nusCS2113-AY1819S1/pe-2#231]


Comment by Meowzz95 Bug rejected since this is inherited from AB4

From module website

response.Rejected : What tester thought as a bug is in fact expected behavior. ❗️ The penalty for rejecting a bug using an unjustifiable explanation is higher than the penalty if the same bug was accepted. You can also reject bugs that you inherited from AB4.


[original: DummyTA1/main#648]

proposed-assignees: xllx1, e0191729, hanskoh, meowzz95,

Tutor to check: