Open weekiat-douze opened 1 year ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Copy command not functioning properly
Alex Yeoh has a Math class scheduled on Monday 08:30 - 09:30. When trying to add a new Math class on Tuesday from 13:00 - 15:00, the app freezes with no error message being produced.
I thought this is something you might want to consider improving since the UG mentions that users can use the
copy
command to "Copy an existing student to the managing system with a different subject or schedule." I interpret that the app intends to allow a student to have more than one lessons of the same subject during the week. And if you want to prohibit this, an error message should be produced to warn users from doing so.
[original: nus-cs2103-AY2223S2/pe-interim#3923] [original labels: type.FunctionalityBug severity.Medium]
[This is the team's response to the above 'original' bug]
The copy command only allows to create another entry with different subject, but the UG failed to state this.
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
How to replicate
add n/Alex Yeo p/98765432 e/johnd@example.com a/John street, block 123, #01-01 s/Math sch/monday st/09:30 et/11:30
copy 7 s/Math sch/monday st/09:30 et/11:30
Expectation / Description
Expected the student to be copied or an error message. However, can see from the terminal that an exception was thrown and not caught. This is a valid input as user may have entered the fields incorrectly as a tutor for multiple subjects of the same student.
Image