Kimai version: 1.19.3
PHP v : 8.0.17
SharedProjectTimesheetsBundle v: 2.1.0
Error 404 occurs when:
Selecting a month or a year
Clicking on button 'chart' or 'table'
The url .com/public/en/auth/shared-project-timesheets/17/40e35562f616 works, but when clicking on a button it changes to .com/en/auth/shared-project-timesheets/17/40e35562f616?year=2023&month=4 which gives the 404 Error.
If I manually add /public/ in the url with the request, it works again. How can I fix this?
I could fix it with replacing
-> app.request.pathinfo
with
-> url('view_shared_project_timesheets', {projectId: sharedProject.project.id, shareKey: sharedProject.shareKey})
in timesheet.html.twig
Kimai version: 1.19.3 PHP v : 8.0.17 SharedProjectTimesheetsBundle v: 2.1.0
Error 404 occurs when:
The url .com/public/en/auth/shared-project-timesheets/17/40e35562f616 works, but when clicking on a button it changes to .com/en/auth/shared-project-timesheets/17/40e35562f616?year=2023&month=4 which gives the 404 Error.
If I manually add /public/ in the url with the request, it works again. How can I fix this?
fails: .com/en/auth/shared-project-timesheets/17/40e35562f616?year=2023&month=4 works: .com/public/en/auth/shared-project-timesheets/17/40e35562f616?year=2023&month=4