Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

SQL error running sprint status #37

Open
cwarwicker opened this issue Jan 20, 2023 · 1 comment
Open

SQL error running sprint status #37

cwarwicker opened this issue Jan 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@cwarwicker
Copy link

[2023-01-20 06:54:58][INFO] user 765126981872123916 called sprint in server 1035641333089574973
{"options":[{"name":"status","type":1,"options":[]}],"uuid":"fed3a706-6071-4f39-be49-c034a828743e"}
{"uuid":"fed3a706-6071-4f39-be49-c034a828743e","stack":"SqlError: Parameter at position 1 is undefined\nSELECT * FROM projects WHERE id = ? - parameters:[undefined]\nsql: SELECT * FROM projects WHERE id = ? - parameters:[undefined]\n    at module.exports.createError (/app/node_modules/mariadb/lib/misc/errors.js:57:10)\n    at Query.throwUnexpectedError (/app/node_modules/mariadb/lib/cmd/command.js:40:24)\n    at Query.throwNewError (/app/node_modules/mariadb/lib/cmd/command.js:70:22)\n    at Query.validateParameters (/app/node_modules/mariadb/lib/cmd/query.js:176:14)\n    at Query.start (/app/node_modules/mariadb/lib/cmd/query.js:54:17)\n    at Connection.addCommandEnablePipeline (/app/node_modules/mariadb/lib/connection.js:1055:11)\n    at Connection.query (/app/node_modules/mariadb/lib/connection.js:1289:10)\n    at new Promise (<anonymous>)\n    at ConnectionPromise.query (/app/node_modules/mariadb/lib/connection-promise.js:87:12)\n    at DB._build_get (/app/src/classes/database.js:71:38)"}

Looks like its assuming a project exists for the sprint_user where there isn't one.

@cwarwicker cwarwicker added the bug Something isn't working label Jan 20, 2023
@cwarwicker
Copy link
Author

Unable to replicate so far

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant