m-ld / timeld

Live shared timesheets
MIT License
1 stars 1 forks source link

`report <project-name>` fails with 500 error #60

Closed mcalligator closed 2 years ago

mcalligator commented 2 years ago

In a timeld-cli admin session, the command report "<Valid Project>" consistently results in the following error (after a delay of ~30s):

Fetch from https://timeld.org/api/rpt/<user>/own/Valid%20Project?user=<user> failed with 500: Internal Server Error

(Note that actual project name and user have been de-identified for confidentiality reasons).

gsvarovsky commented 2 years ago

Likely to be the same as #59 (possibly with a different character-match problem). DM me the failing IDs pls.

(30s delay is the client re-trying in the face of the 500 server error.)

mcalligator commented 2 years ago

Done. Concerning the possible common underlying cause with #59, the Timesheet name in the above case is in fact all lower-case, but the Project name has some upper-case characters. If it's the same code that handles the latter entity class, then it's likely to be that. Could that restriction be relaxed? Some people prefer the flexibility of being able to use upper-case characters in entity names.

gsvarovsky commented 2 years ago

Decided in update meeting 15-Aug-22 not to change this restriction.

https://gitter.im/federatedbookkeeping/timesheets?at=62fa2c04443b7927a76ce94d