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
Describe the bug
In the admin-activities list, the select list of "visibility" causes an exception, when selecting the "empty" line (display both: visible and invisble activities).
An exception has been thrown during the rendering of a template ("[Syntax Error] line 0, col 94: Error: Expected Literal, got 'ORDER'").
The QueryException:
Doctrine\ORM\Query\ QueryException
SELECT a, p, c FROM App\Entity\Activity a LEFT JOIN a.project p LEFT JOIN p.customer c WHERE ORDER BY a.id ASC
To Reproduce
Steps to reproduce the behavior:
Navigate to "Admin" -> "Activities"
Click on the Filter Icon to display the filter-form
Select the empty row in the "visible" dropdown
See error.
(direct navigation to the Error: your-kimai.url/en/admin/activity/?customer=&pageSize=&project=&visibility=3
Additional context
The Exception itself is caused by the template, when calling {{ entries.count }}, while entries is the Pagerfanta\Pagerfanta object. This causes the error when accessing $entries->count().
The text was updated successfully, but these errors were encountered:
lduer
changed the title
admin activity: visibility "none" (no filter) causes error
admin activity: visibility "none" (no filter) causes sql-error
Jan 10, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai.
lockbot
locked and limited conversation to collaborators
Mar 19, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
In the admin-activities list, the select list of "visibility" causes an exception, when selecting the "empty" line (display both: visible and invisble activities).
The QueryException:
To Reproduce
Steps to reproduce the behavior:
(direct navigation to the Error:
your-kimai.url/en/admin/activity/?customer=&pageSize=&project=&visibility=3
Additional context
The Exception itself is caused by the template, when calling
{{ entries.count }}
, whileentries
is thePagerfanta\Pagerfanta
object. This causes the error when accessing$entries->count()
.The text was updated successfully, but these errors were encountered: