Open ChewyChair opened 2 years ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Duplicate items
As can be seen from the screenshot above, it seems like I am able to add duplicate items. I am unsure if this is a bug or not but it does not seem to make sense to be able to add duplicate items.
[original: nus-cs2113-AY2122S1/pe-interim#1219] [original labels: severity.Low type.FeatureFlaw]
[This is the team's response to the above 'original' bug]
The philosophy behind our design is that, the user is free to do anything that does not interfere with the secure and normal operation of the program, i.e. we should facilitate the user with their intention as far as possible, not hinder them based on our presumed non-essential problems. It is not different from the Unix philosophy, which has long allowed
rm -rf /
to be executed. Whether the operation makes sense or not is up to the user. It might be useful to add a friendly message for this (similar to the--no-preserve-root
thing or the messages by git for unset default branch names/merge policy), but it is outside of our current function scope.
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: This issue covers the duplication of lessons, not tasks. While I agree that users may choose to duplicate tasks for whatever reason, there is no good reason for a user to be able to duplicate lessons. If they mistakenly add duplicate lessons, there is no error or warning message given and it will be a hassle to manually delete the added duplicate lessons.
Team chose [response.NotInScope
]
Reason for disagreement: While I agree that users may have their own reasons to duplicate their tasks, there is no good reason to allow users to be able to duplicate lessons. If they mistakenly add duplicate lessons, there is no error or warning message given and it will be a hassle to manually delete the added duplicate lessons.
From the CS2113T PE page:
and
Since the lesson data is pulled from the NUSMods API, the values for duplicate lessons are always the same and duplicate detection would be trivial. I would argue that this cannot be classified as NotInScope
as it is not hard at all to implement.
As per title. Perhaps it would be better if the app was able to block this and print an error message.