Open LWS49 opened 2 months ago
The bug is of a similar nature (activity diagram that does not accurately reflect the order in which the program checks)
[The team marked this bug as a duplicate of the following bug]
UML diagram for weight does not reflect functionality
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.
If the index is invalid, the
Invalid index
error should always be raised first based on this diagram.However, that is not the case here:
[original: nus-cs2103-AY2324S2/pe-interim#5051] [original labels: severity.Medium type.DocumentationBug]
[This is the team's response to the above 'original' bug]
This bug only occurs in rare situations when both the
index
AND theweight
are invalid, and only whenindex
is wrong by being higher than the list size. Ifindex
is 0 or less, the diagram will be correct.Considering that the bug only occurs when:
- The
index
is greater than the list size- The
weight
entered is also wrongWe find that it is more reasonable to say that it occurs in very rare situations and not occasionally. Furthermore, this only causes a minor inconvenience.
Thus, we have accepted the bug, but downgraded the severity from Medium --> Low.
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: Although these two DG bugs are of a similar nature, they are not duplicates as neither criteria is satisfied for duplicate bugs (refer to screenshot below).
Both bugs are neither exactly the same, nor can they not be fixed independently.
According to this diagram, if a parameter is invalid, it should always be raised first when it exists in conjunction with the insufficient parameters error.
Even though the name parameter is invalid, the
insufficient parameters
error is raised first.