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).
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).