Skip to content

Hotfix project member dao file#2423

Merged
rassokhina-e merged 2 commits intomasterfrom
bug/hotfix-project-member-dao
Feb 25, 2026
Merged

Hotfix project member dao file#2423
rassokhina-e merged 2 commits intomasterfrom
bug/hotfix-project-member-dao

Conversation

@rassokhina-e
Copy link
Copy Markdown
Contributor

@rassokhina-e
Copy link
Copy Markdown
Contributor Author

{"level":50,"time":1772043874707,"pid":1,"hostname":"biodiversity-api-79db6dc57c-dcjdg","reqId":"req-2xb","req":{"method":"GET","url":"/projects/el-yunque-monitoring/species?limit=5","hostname":"arbimon.org","remoteAddress":"100.97.238.236","remotePort":37278},"res":{"statusCode":500},"err":{"type":"DatabaseError","message":"column \"nan\" does not exist","stack":"Error\n    at Query.run (/app/node_modules/.pnpm/sequelize@7.0.0-alpha.5_mysql2@2.3.3_pg-hstore@2.3.4_pg@8.7.3_sqlite3@5.0.8_encoding@0.1.13_/node_modules/sequelize/dist/lib/dialects/postgres/query.js:50:25)\n    at /app/node_modules/.pnpm/sequelize@7.0.0-alpha.5_mysql2@2.3.3_pg-hstore@2.3.4_pg@8.7.3_sqlite3@5.0.8_encoding@0.1.13_/node_modules/sequelize/dist/lib/sequelize.js:313:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async PostgresQueryInterface.select (/app/node_modules/.pnpm/sequelize@7.0.0-alpha.5_mysql2@2.3.3_pg-hstore@2.3.4_pg@8.7.3_sqlite3@5.0.8_encoding@0.1.13_/node_modules/sequelize/dist/lib/dialects/abstract/query-interface.js:396:12)\n    at async LocationProject.findAll (/app/node_modules/.pnpm/sequelize@7.0.0-alpha.5_mysql2@2.3.3_pg-hstore@2.3.4_pg@8.7.3_sqlite3@5.0.8_encoding@0.1.13_/node_modules/sequelize/dist/lib/model.js:1119:21)\n    at async LocationProject.findOne (/app/node_modules/.pnpm/sequelize@7.0.0-alpha.5_mysql2@2.3.3_pg-hstore@2.3.4_pg@8.7.3_sqlite3@5.0.8_encoding@0.1.13_/node_modules/sequelize/dist/lib/model.js:1213:12)\n    at async LocationProject.findByPk (/app/node_modules/.pnpm/sequelize@7.0.0-alpha.5_mysql2@2.3.3_pg-hstore@2.3.4_pg@8.7.3_sqlite3@5.0.8_encoding@0.1.13_/node_modules/sequelize/dist/lib/model.js:1200:12)\n    at async getProjectById (file:///app/apps/api/lib/projects/dao/projects-dao.js:9:12)\n    at async getUserRoleForProject (file:///app/apps/api/lib/projects/dao/project-member-dao.js:56:32)\n    at async Object.<anonymous> (file:///app/apps/api/lib/_plugins/project-role.js:11:22)","name":"SequelizeDatabaseError","parent":{"type":"DatabaseError","message":"column \"nan\" does not exist","stack":"error: column \"nan\" does not exist\n    at Parser.parseErrorMessage (/app/node_modules/.pnpm/pg-protocol@1.5.0/node_modules/pg-protocol/dist/parser.js:287:98)\n    at Parser.handlePacket (/app/node_modules/.pnpm/pg-protocol@1.5.0/node_modules/pg-protocol/dist/parser.js:126:29)\n    at Parser.parse (/app/node_modules/.pnpm/pg-protocol@1.5.0/node_modules/pg-protocol/dist/parser.js:39:38)\n    at TLSSocket.<anonymous> (/app/node_modules/.pnpm/pg-protocol@1.5.0/node_modules/pg-protocol/dist/index.js:11:42)\n    at TLSSocket.emit (node:events:517:28)\n    at addChunk (node:internal/streams/readable:368:12)\n    at readableAddChunk (node:internal/streams/readable:341:9)\n    at Readable.push (node:internal/streams/readable:278:10)\n    at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)","length":104,"name":"error","severity":"ERROR","code":"42703","position":"488","file":"parse_relation.c","line":"3647","routine":"errorMissingColumn","sql":"SELECT \"id\", \"id_core\" AS \"idCore\", \"id_arbimon\" AS \"idArbimon\", \"slug\", \"name\", \"status\", \"status_updated_at\" AS \"statusUpdatedAt\", \"latitude_north\" AS \"latitudeNorth\", \"latitude_south\" AS \"latitudeSouth\", \"longitude_east\" AS \"longitudeEast\", \"longitude_west\" AS \"longitudeWest\", \"created_at\" AS \"createdAt\", \"updated_at\" AS \"updatedAt\", \"deleted_at\" AS \"deletedAt\" FROM \"location_project\" AS \"LocationProject\" WHERE (\"LocationProject\".\"deleted_at\" IS NULL AND \"LocationProject\".\"id\" = NaN);"},"original":{"type":"DatabaseError","message":"column \"nan\" does not exist","stack":"error: column \"nan\" does not exist\n    at Parser.parseErrorMessage (/app/node_modules/.pnpm/pg-protocol@1.5.0/node_modules/pg-protocol/dist/parser.js:287:98)\n    at Parser.handlePacket (/app/node_modules/.pnpm/pg-protocol@1.5.0/node_modules/pg-protocol/dist/parser.js:126:29)\n    at Parser.parse (/app/node_modules/.pnpm/pg-protocol@1.5.0/node_modules/pg-protocol/dist/parser.js:39:38)\n    at TLSSocket.<anonymous> (/app/node_modules/.pnpm/pg-protocol@1.5.0/node_modules/pg-protocol/dist/index.js:11:42)\n    at TLSSocket.emit (node:events:517:28)\n    at addChunk (node:internal/streams/readable:368:12)\n    at readableAddChunk (node:internal/streams/readable:341:9)\n    at Readable.push (node:internal/streams/readable:278:10)\n    at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)","length":104,"name":"error","severity":"ERROR","code":"42703","position":"488","file":"parse_relation.c","line":"3647","routine":"errorMissingColumn","sql":"SELECT \"id\", \"id_core\" AS \"idCore\", \"id_arbimon\" AS \"idArbimon\", \"slug\", \"name\", \"status\", \"status_updated_at\" AS \"statusUpdatedAt\", \"latitude_north\" AS \"latitudeNorth\", \"latitude_south\" AS \"latitudeSouth\", \"longitude_east\" AS \"longitudeEast\", \"longitude_west\" AS \"longitudeWest\", \"created_at\" AS \"createdAt\", \"updated_at\" AS \"updatedAt\", \"deleted_at\" AS \"deletedAt\" FROM \"location_project\" AS \"LocationProject\" WHERE (\"LocationProject\".\"deleted_at\" IS NULL AND \"LocationProject\".\"id\" = NaN);"},"sql":"SELECT \"id\", \"id_core\" AS \"idCore\", \"id_arbimon\" AS \"idArbimon\", \"slug\", \"name\", \"status\", \"status_updated_at\" AS \"statusUpdatedAt\", \"latitude_north\" AS \"latitudeNorth\", \"latitude_south\" AS \"latitudeSouth\", \"longitude_east\" AS \"longitudeEast\", \"longitude_west\" AS \"longitudeWest\", \"created_at\" AS \"createdAt\", \"updated_at\" AS \"updatedAt\", \"deleted_at\" AS \"deletedAt\" FROM \"location_project\" AS \"LocationProject\" WHERE (\"LocationProject\".\"deleted_at\" IS NULL AND \"LocationProject\".\"id\" = NaN);","parameters":{}},"msg":"column \"nan\" does not exist"}

@rassokhina-e rassokhina-e merged commit cf71d13 into master Feb 25, 2026
2 checks passed
@rassokhina-e rassokhina-e deleted the bug/hotfix-project-member-dao branch February 25, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant