owlysk / CodeTimer

Timer Widget for Kimai Time Tracking
MIT License
22 stars 2 forks source link

BUG: Incompatible with recent Kimai Version 2.0.33 #8

Closed xstable closed 1 year ago

xstable commented 1 year ago

I've upgraded Kimai to 2.0.33 some minutes ago. Now I don't get a Project, NOR actions for a new task. Not for new Tasks, and even not for any recent tasks:

image

image

image

Whole Cache-Object is empty : image

owlysk commented 1 year ago

Did you try refresh cache? Button for refresh cache is located in setting, next to back button.

xstable commented 1 year ago

Yes, refresh-button, disable (also re-enabeling) caching in dev-tools, etc.

I'd closed it till now and used the integrated (web-base) tracker of kimai. But now I've started it again and ... strange enough, currently it work again, and I don't know why.

owlysk commented 1 year ago

Hi, I mean this button, no any cache in dev-tools. codeTimer-cache-refresh

I think this was happends: When you start CodeTimer, cache was old, so CodeTimer tries to load actual data. Kimai server was not ready yet, so there was no response from server, cache was empty. Then you tried to load timesheets, server was ready, but cache was still empty - that's why you have not any customer/activity/project. When you click to this button, cache should be refreshed and everything should work normalny. Cache is valid for one hour, so after you reopen CodeTimer after one hour, cache is automatic calling Kimai server, then loads actual data and app will work.

I also installed Kimai v 2.0.33 and have not any issue with CodeTimer.