isaaceng7 / pe

0 stars 0 forks source link

Add command closes program prematurely #6

Open isaaceng7 opened 6 months ago

isaaceng7 commented 6 months ago

Input: add Output: program closes prematurely

Consider handling this exception.

image.png

nus-pe-bot commented 6 months ago

Team's Response

No details provided by team.

The 'Original' Bug

[The team marked this bug as a duplicate of the following bug]

program crashes when using add command

image.png

when i type add without anything at the back, the program crashes


[original: nus-cs2113-AY2324S2/pe-interim#1574] [original labels: type.FunctionalityBug severity.High]

Their Response to the 'Original' Bug

[This is the team's response to the above 'original' bug]

No details provided by team.

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]


## :question: Issue type Team chose [`type.FunctionalityBug`] Originally [`type.FeatureFlaw`] - [x] I disagree **Reason for disagreement:** ### This should be a FeatureFlaw instead of FunctionalityBug. The `add` command **still works properly** if the input gives the correct attributes. The command only crashes when `add` is written with no other arguments. Therefore, it does not mean that the `add` feature does not work, instead it still works with the correct inputs. This snippet from the textbook mentions that FunctionalityBug means that the functionality does not work as specified, however it does work as specified. Therefore it should be a FeatureFlaw instead. ![image.png](https://raw.githubusercontent.com/isaaceng7/pe/main/files/1e8f5ca1-1900-4819-bb37-ac6eec2009f4.png)
## :question: Issue severity Team chose [`severity.High`] Originally [`severity.Low`] - [ ] I disagree **Reason for disagreement:** [replace this with your explanation]