/projects
fails to load if there exists a project with a blank name
#62
Labels
bug
Something isn't working
Issue
When clicking on the Projects tab in the sidebar, my local instance of Hakatime sits on the loading screen forever.
Expected Behavior
Clicking on the Projects tab should pull up details about one of my projects, just like in the demo environment.
Steps to Reproduce
Suspected Root Cause
http://<my-hakatime-url>/api/v1/projects?start=2022-04-10T03%3A30%3A55.667Z&end=2022-04-25T03%3A30%3A55.667Z
that returns my list of projects["", "asu", "hakatime", "DIY-Supercube"]
.http://<my-hakatime-url>/api/v1/users/current/projects/?start=2022-04-10T03%3A30%3A55.667Z&end=2022-04-25T03%3A30%3A55.667Z&timeLimit=15
that returns a 404.If I manually log into the hakatime db and delete all heartbeats with a blank project name, the page loads successfully.
Video for extra clarity:
hakatime_projects_bug.mp4
The text was updated successfully, but these errors were encountered: