Employee with code xyza in external database exists, has time tracking data, but day doesn't show up in table after "Get Day". Error message says: Error matching xyza registrations to Employear employees
The key stored in emp_extid seems not to be unique. It is a value imported from the external database, where it is unique. But at create/edit action (see bug #79), this record has been saved several times. It gets its own employear record id, so at first sight nothing is wrong. The error message on retrieving tracking data just says there is an error; it would be helpful to get more information there (like "multiple instance of external id xyza").
There should be a check on the external record id at save. Force unique value, save with additional number (like for duplicate documents) or at least give good error message at creation of duplicate.
Adjust the error message if possible.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The key stored in emp_extid seems not to be unique. It is a value imported from the external database, where it is unique. But at create/edit action (see bug #79), this record has been saved several times. It gets its own employear record id, so at first sight nothing is wrong. The error message on retrieving tracking data just says there is an error; it would be helpful to get more information there (like "multiple instance of external id xyza").