Menu

#999 Error when no project returned

open
nobody
None
5
2021-04-28
2021-02-19
Anonymous
No

In ./intranet-timesheet2/hours/new?show_week_p=0, when we select "Projects last week" or "Projects last month" and there is no project returned, (E.g. the user never filled a timesheet.) instead of returning an empty page, an error is raised:

Database operation "select" failed (exception ERROR, "ERROR: syntax error at or near ")"
LINE 12: where p.project_id in ()
^
")

ERROR: syntax error at or near ")"
LINE 12: where p.project_id in ()
^
(...)

Discussion

  • Frank Bergmann

    Frank Bergmann - 2021-02-19

    Please specify the version of ]project-open[ where this happens.

    Best regards
    Frank

     
  • Anonymous

    Anonymous - 2021-02-25
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2021-04-28
    Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.