-
-
Notifications
You must be signed in to change notification settings - Fork 132
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
I imported data via fitbit which apparently also created exercises. Changing the exercises categories from blank to eg. "Cardio" raised error shown below.
Steps to Reproduce
Steps to reproduce the behavior:
- Import via fitbit
- Go to Exercises and change the category from blank to eg "cardio"
- Confirm "Sync Past Entries"
Environment
- SparkyFitness Version: 0.16.3.6 / fb278e3
- Running Env: Docker
Container Log for SparkyFitness_Server
sparkyfitness-server-1 | [2026-01-24T00:30:12.710Z] [ERROR] Error updating exercise entries snapshot for user 56d97fc8-79d8-41ac-b69c-1200272c7cda, exercise dc13da85-8ef4-4164-9038-8e63b7188661: TypeError: exerciseDb.updateExerciseEntriesSnapshot is not a function
sparkyfitness-server-1 | at Object.updateExerciseEntriesSnapshot (/app/SparkyFitnessServer/services/exerciseService.js:1152:22)
sparkyfitness-server-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
sparkyfitness-server-1 | at async /app/SparkyFitnessServer/routes/exerciseRoutes.js:1146:22
sparkyfitness-server-1 | [2026-01-24T00:30:12.718Z] [ERROR] Error caught by centralized handler: exerciseDb.updateExerciseEntriesSnapshot is not a function TypeError: exerciseDb.updateExerciseEntriesSnapshot is not a function
sparkyfitness-server-1 | at Object.updateExerciseEntriesSnapshot (/app/SparkyFitnessServer/services/exerciseService.js:1152:22)
sparkyfitness-server-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
sparkyfitness-server-1 | at async /app/SparkyFitnessServer/routes/exerciseRoutes.js:1146:22
sparkyfitness-server-1 | [2026-01-24T00:34:24.404Z] [ERROR] Error updating exercise entries snapshot for user 56d97fc8-79d8-41ac-b69c-1200272c7cda, exercise dc13da85-8ef4-4164-9038-8e63b7188661: TypeError: exerciseDb.updateExerciseEntriesSnapshot is not a function
sparkyfitness-server-1 | at Object.updateExerciseEntriesSnapshot (/app/SparkyFitnessServer/services/exerciseService.js:1152:22)
sparkyfitness-server-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
sparkyfitness-server-1 | at async /app/SparkyFitnessServer/routes/exerciseRoutes.js:1146:22
sparkyfitness-server-1 | [2026-01-24T00:34:24.405Z] [ERROR] Error caught by centralized handler: exerciseDb.updateExerciseEntriesSnapshot is not a function TypeError: exerciseDb.updateExerciseEntriesSnapshot is not a function
sparkyfitness-server-1 | at Object.updateExerciseEntriesSnapshot (/app/SparkyFitnessServer/services/exerciseService.js:1152:22)
sparkyfitness-server-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
sparkyfitness-server-1 | at async /app/SparkyFitnessServer/routes/exerciseRoutes.js:1146:22
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Projects
Status
Done