Open nus-se-bot opened 2 years ago
As stated in the UG, the format of addalloc
command only allows either the student name -n
or NUSNET ID -i
to be specified. Thus addalloc -g S01A -n Jonas Chow -i E0123457
is seen as invalid since both fields are specified. It seems like the tester misunderstood the command format. The command worked as expected.
Moreover, the title
Addalloc command as given in UG examples doesn't work when allocating student with same id to group
doesn't seem to match with the description since there is no such command included in the UG.
--
Steps to reproduce
(-n | -i )
Example: addalloc -g T01A -n Jonas Chow
addstudent -n Jonas Chow -i E0123456
addstudent -n Jonas Chow -i E0123457
addgroup -g S01A
addalloc -g S01A -n Jonas Chow -i E0123457
Expected result
Allocate S01A to Jonas Chow with id E0123457
Actual result
Invalid command format! addalloc: Adds a student to an existing group. Parameters: -g
Screenshots
[original: nus-cs2103-AY2122S1/pe-interim#5797] [original labels: severity.Medium type.DocumentationBug]