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
Adding multiple employees accept only the second employee in the list
Details:
BRANCH: feat/mikro-orm-query-support
ORM: typeorm
DB: MySQL
SEEDED DATA: YES
If we tried to add multiple employees only the second one got added in the list will be registered and can be seen within the employees list from the dashboard admin at http://localhost:4200/#/pages/employees well for the other added employees we still have them in the user table but they aren't added and saved in the employee table.
How to reproduce:
Add 2 employees tester-1@ever.co AND tester-2@ever.co try to login with the credentials and see that you're still able to login with both registered emails, so for the tester-1@ever.co you can not see the timer on the menu nav and also if you search it on the employees list from the admin dashboard you can't find it also if you do some query on the database on the USER table you can find a record with the email: tester-1@ever.co but if you tried to search on EMPLOYEE table you can't find it.
Finally for the second employee which is tester-2@ever.co everything is working fine for timer, employee list, and the time tracking can be seen on admin dashboard (Time Tracking).
Tested also by adding 3 employees and only the second employee get registered as an employee.
I got this logs on the backend terminal too:
The text was updated successfully, but these errors were encountered:
Adding multiple employees accept only the second employee in the list
Details:
BRANCH:
feat/mikro-orm-query-support
ORM:
typeorm
DB:
MySQL
SEEDED DATA:
YES
If we tried to add multiple employees only the second one got added in the list will be registered and can be seen within the employees list from the dashboard admin at
http://localhost:4200/#/pages/employees
well for the other added employees we still have them in the user table but they aren't added and saved in the employee table.How to reproduce:
Add 2 employees
tester-1@ever.co
ANDtester-2@ever.co
try to login with the credentials and see that you're still able to login with both registered emails, so for thetester-1@ever.co
you can not see the timer on the menu nav and also if you search it on the employees list from the admin dashboard you can't find it also if you do some query on the database on theUSER
table you can find a record with the email:tester-1@ever.co
but if you tried to search onEMPLOYEE
table you can't find it.Finally for the second employee which is
tester-2@ever.co
everything is working fine for timer, employee list, and the time tracking can be seen on admin dashboard (Time Tracking).Tested also by adding 3 employees and only the second employee get registered as an employee.
I got this logs on the backend terminal too:
The text was updated successfully, but these errors were encountered: