ever-co / ever-gauzy-desktop-timer

Ever® Gauzy™ Desktop Timer App - https://gauzy.co/downloads
https://gauzy.co/downloads
GNU Affero General Public License v3.0
19 stars 6 forks source link

Automatic error report for Gauzy Desktop Timer App 0.442.3 #44

Closed Cedric921 closed 7 months ago

Cedric921 commented 7 months ago

Description 🐊

Error: Empty .update() call detected! Update data does not contain any values to update. This will result in a faulty query. Table: timers. Columns: day,duration,employeeId,projectId,startedAt,stoppedAt,synced,taskId,timelogId,timesheetId,timeslotId,isStartedOffline,isStoppedOffline,version,organizationTeamId,description.
    at Object.queryBuilder (/opt/Gauzy Desktop Timer/resources/app.asar/node_modules/knex/lib/knex-builder/make-knex.js:112:26)
    at createQueryBuilder (/opt/Gauzy Desktop Timer/resources/app.asar/node_modules/knex/lib/knex-builder/make-knex.js:320:26)
    at knex (/opt/Gauzy Desktop Timer/resources/app.asar/node_modules/knex/lib/knex-builder/make-knex.js:101:12)
    at /opt/Gauzy Desktop Timer/resources/app.asar/node_modules/@gauzy/desktop-libs/dist/lib/offline/transactions/timer-transaction.js:25:23
    at /opt/Gauzy Desktop Timer/resources/app.asar/node_modules/knex/lib/execution/transaction.js:229:22

To Reproduce 🧵

Response...

Screenshots 📸

Response...

Additional Information ⚓️

Response...

Configuration 🛠

App Version ⛓: 0.442.3 Platform 🖥: linux x64 Release 📦: 6.2.0-37-generic

evereq commented 7 months ago

@adkif we may want to make sure before we do calls to "update" we first check if data is changed or not etc.