Open nus-pe-bot opened 1 year ago
Hi there! Thanks so much for the report.
If you look at our implementation of the Person
class, when email, address and phone is not added, they are still initialised and composed as static objects with placeholder value of N/A. Hence, the multiplicity of this will still be 1. Hence we are rejecting this bug.
Once again, thank you so much for informing us regarding the error.
Cheers,
Coydir
HR is hard, Coydir is easy
(est. 2022)
--
Note from the teaching team: This bug was reported during the Part II (Evaluating Documents) stage of the PE. You may reject this bug if it is not related to the quality of documentation.
From your UG, it states that the following are optional:
PHONE
EMAIL
ADDRESS
LEAVE
TAG
As such, there should be a multiplicity of 0..1.
But your model class diagram insinuates that it is compulsory for these fields to hold a value, when they could be
null
.Therefore, the multiplicity for some of them should be update to 0..1.
[original: nus-cs2103-AY2223S1/pe-interim#2184] [original labels: type.DocumentationBug severity.Low]