Open elaineshijie opened 1 year ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Able to add a person with both student and professor
Describe the bug
- We are able to add a person with roles student and professor, which is not possible in real life.
To Reproduce
- Input
add --name Charlie Dueet --role Professor, Student --contact @charliee, charliee@gmail.com --course GEA1000, QF2103
Expected Behaviour They should aware the user that they might make a mistake
Screenshot
[original: nus-cs2103-AY2324S1/pe-interim#5648] [original labels: severity.Low type.FeatureFlaw]
[This is the team's response to the above 'original' bug]
Our product is intended to be this way which is that each
Person
can take on any 3 roles ofStudent
,TA
andProfessor
. Also, in real life, it is not impossible for a person to be a student, a TA and a professor at the same time. For instance, a PhD student can be aStudent
, aTA
and aProfessor
at the same time.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]
Multiple roles can be assigned to a person, that shouldnt be the case as a TA cannot also be a Professor