IITGN-CS431 / project-cns

0 stars 1 forks source link

Functionality Bug(Group-2): Employees and Guests with the Same Name Treated as the Same Entity #5

Open dkshjn opened 18 hours ago

dkshjn commented 18 hours ago

Functionality Bug(Group-2): Employees and Guests with the Same Name Treated as the Same Entity

Description

According to the project specification, employees and guests can have the same name but should be treated as separate entities. However, as shown in the attached image, the system treats them as the same person. When attempting to add a log entry for an employee and then for a guest with the same name ("Fred"), the system returns an error stating, "Already on campus," when it should allow both entries since they represent different entities (an employee and a guest).

Screenshot 2024-10-23 at 11 32 13 PM
naveeeeeeeeeen commented 5 hours ago

I have fixed this bug and Created a pull request. Sample Output:- Screenshot from 2024-10-24 11-51-40