Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing projects causing grandtotal exception "Unknown project with ID: XX" in JS Log #11

Open
horstkrawunke opened this issue Jan 17, 2025 · 0 comments

Comments

@horstkrawunke
Copy link

When grand total is calling the api to retrieve the projects, the call “GET /api/activities?visible=3” is executed.
Completed projects that do not yet have "billed hourly entries" are not included in the response. Grand Total then tries to display the hourly entries, but cannot match them to a project ID from the activities response. This leads to many exception entries in the JSLog which makes grandtotal nearly unusable because the JDLog window pops up many times. If the call against activities has set the parameter “ignoredates=1”, all projects are returned and grand total should not throw an error.

As workaround i set all old hour entries as billed (what they are not..)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant