anselmlong / pe

0 stars 0 forks source link

[UG] Example command under Add Assignment does not work out of the box #14

Closed anselmlong closed 1 week ago

anselmlong commented 1 week ago

Overview:

Running the command: adda n/John Doe a/Assignment 1 d/2021-10-10 s/N g/100 sn/A1234567Z under Add Assignment under Command Summary gives me an error. Should not be graded if assignment has not been submitted. adda: Adds an assignment to a student. Parameters: n/STUDENT_NAME sn/STUDENT NUMBER a/ASSIGNMENT d/DEADLINE s/SUBMISSION STATUS (OPTIONAL) g/GRADE (OPTIONAL) Example: adda n/Jane Doe a/Math Quiz d/2024-10-09 s/N g/NULL

As a user, I would expect example commands to work, and the error message given is also not really clear on why it doesn't work.

Environment:

Processor: 13th Gen Intel(R) Core(TM) i5-13500H, 2600 Mhz, 12 Core(s), 16 Logical Processor(s) Operating System: Microsoft Windows 11 Home Version 10.0.22631 Build 22631 App Version: v1.6

Steps to Reproduce:

  1. Have a student named "John Doe" in your list.
  2. Run adda n/John Doe a/Assignment 1 d/2021-10-10 s/N g/100 sn/A1234567Z

Expected Result:

Actual Result:

Screenshots/Logs (if applicable):

image.png

Frequency: