Open timiditi opened 2 years ago
Duplicate of #4427
[The team marked this bug as a duplicate of the following bug]
Half-baked Duplicate detection
For the
add
command, input validation for the name is too strict.Assume the user adds this anime,
add n/Shingeki Hi e/0
, and then wants forgets about if for sometime and re-watches more episodes and tries to enter as a new record,add n/Shingeki Hi e/5
. This time, a new anime is added as there's an extra whitespace between the 2 words, while it obviously is referring the same anime.I think it's better if this is allowed, or a helpful output given before adding a possible duplicate into the app
Also, duplicate detection of anime based on its
name
is not case-insensitive, allowing me to add anime 15 and 17 as follows but they 17 should be caught as a duplicate.
[original: nus-cs2103-AY2122S1/pe-interim#4400] [original labels: type.FeatureFlaw severity.Medium]
[This is the team's response to the above 'original' bug]
From AniList Devs:
:<
Best Regards!
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]
Team chose [type.FeatureFlaw
]
Originally [type.FunctionalityBug
]
Reason for disagreement: [replace this with your explanation]
Team chose [severity.Medium
]
Originally [severity.Low
]
Reason for disagreement: [replace this with your explanation]
It is possible for users to add multiple entries with the same name if whitespace is different. Users who accidentally mistype are not aware and will have duplicates added to the list.
To replicate:
add n/Gundam SEED
. (one space between words)add n/Gundam SEED
. (two spaces between words)Expected: The second anime is detected as duplicate and not added.
Actual: Both anime are added to list.