All Time Entries Not working for Manager or Approver in Lori Timesheet

Hi,

I have installed Lori Timesheet and ran the application locally.
I have created a worker user and a manager user.
I have created an example client and project with a task.
Both the worker and manager user have time entries associated with the project.
Logged in as the manager I clicked ‘All Time Entries’ under the Project Management tab and I get this error:

IllegalArgumentException: You have attempted to set a value of type class com.haulmont.timesheets.entity.ExtUser for parameter user with expected type of class java.util.UUID from query string select e from ts$TimeEntry e
            where exists (select 1 from ts$ProjectParticipant pa
                            where pa.project = e.task.project and pa.user.id = :user
                            and (pa.role.code = 'manager' or pa.role.code = 'approver')).

I am struggling to get round this issue. Any help would be appreciated.

Hi,

I fixed exception with this commit:

It was a remnant of old CUBA 6 code.
Previously one needed to write pa.user.id = :user in queries when you pass entity parameter. Now CUBA 7 needs pa.user = :user condition.