You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run add /n Jane Smith /e jane@email.com /p 12345678 /a 123 Main St /b 123456789 /jd 12/09/2023 /s 1000.00 /l 10
Run add /n Jane Smith /e jane@email.com /p 12345678 /a 123 Main St /b 123456789 /jd 12/09/2023 /s 1000.00 /l 10
Both commands will run successfully
Note the only difference in the 2 commands is the name field.
Expected behaviour
As the 2 people are most likely to the be the same person, the application should reject adding the 2nd command.
Actual behaviour
The application allows for 2 people with the same name but varying spaces within the name to be added.
Reason for severity
As the name field does trimming of whitespaces, there should be optimisation done to prevent duplicates through having spaces within the name as well. Since the name "Jane Smith" and "Jane Smith" are most likely the same person, there should be control done to prevent adding these 2 duplicate people with exactly the same fields.
The text was updated successfully, but these errors were encountered:
Description
Duplication detection is not optimised
Steps to reproduce
add /n Jane Smith /e jane@email.com /p 12345678 /a 123 Main St /b 123456789 /jd 12/09/2023 /s 1000.00 /l 10
add /n Jane Smith /e jane@email.com /p 12345678 /a 123 Main St /b 123456789 /jd 12/09/2023 /s 1000.00 /l 10
Note the only difference in the 2 commands is the name field.
Expected behaviour
As the 2 people are most likely to the be the same person, the application should reject adding the 2nd command.
Actual behaviour
The application allows for 2 people with the same name but varying spaces within the name to be added.
Reason for severity
As the name field does trimming of whitespaces, there should be optimisation done to prevent duplicates through having spaces within the name as well. Since the name "Jane Smith" and "Jane Smith" are most likely the same person, there should be control done to prevent adding these 2 duplicate people with exactly the same fields.
The text was updated successfully, but these errors were encountered: