Currently, the application treats contact names as case-insensitive and does not allow duplicates, identifying "John Lim" and "john lim" as the same entity. This approach can lead to limitations in scenarios where two different contacts share the same name but differ in other attributes like phone numbers or email addresses. This restriction could prevent users from adding legitimate contacts to the system.
Steps to Reproduce
Add a contact with a specific name, e.g., "John Lim"
Attempt to add another contact with the same name but different casing, e.g., "john lim", and distinct attributes such as phone number and email address.
Observe that the system rejects the second entry as a duplicate based on the name alone, disregarding the other attributes.
Expected Behaviour
The system should allow the addition of contacts with the same name if they have different attributes, recognizing them as separate persons. This would enable users to manage contacts more effectively, especially in cases where individuals share the same name.
Suggested Changes
Revise the contact validation logic to consider a combination of name, phone number, and email address when determining uniqueness.
Update the user guide and error messages to reflect this enhanced validation strategy, clearly explaining the criteria for contact uniqueness within the application.
Description
Currently, the application treats contact names as case-insensitive and does not allow duplicates, identifying "John Lim" and "john lim" as the same entity. This approach can lead to limitations in scenarios where two different contacts share the same name but differ in other attributes like phone numbers or email addresses. This restriction could prevent users from adding legitimate contacts to the system.
Steps to Reproduce
Expected Behaviour
The system should allow the addition of contacts with the same name if they have different attributes, recognizing them as separate persons. This would enable users to manage contacts more effectively, especially in cases where individuals share the same name.
Suggested Changes
Labels:
severity.Medium
type.FeatureFlaw
original: raysonchia/ped#13