Metadata editor #14
Annotations
4 errors
tests/embeds.test.ts > get embed:
studio/tests/helpers.ts#L100
QueryFailedError: null value in column "bucket_name" of relation "embeds" violates not-null constraint
❯ PostgresQueryRunner.query src/driver/postgres/PostgresQueryRunner.ts:331:19
❯ InsertQueryBuilder.execute src/query-builder/InsertQueryBuilder.ts:163:33
❯ SubjectExecutor.executeInsertOperations src/persistence/SubjectExecutor.ts:435:42
❯ SubjectExecutor.execute src/persistence/SubjectExecutor.ts:137:9
❯ EntityPersistExecutor.execute src/persistence/EntityPersistExecutor.ts:182:21
❯ embed tests/helpers.ts:100:19
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { query: 'INSERT INTO "embeds"("name", "bucket_name", "thumbnail_contents", "created_at", "updated_at", "project_id") VALUES (DEFAULT, DEFAULT, DEFAULT, DEFAULT, DEFAULT, $1) RETURNING "id", "created_at", "updated_at"', parameters: [ 5 ], driverError: { stack: 'error: null value in column "bucket_name" of relation "embeds" violates not-null constraint\n at /home/runner/work/Studio/Studio/studio/node_modules/pg/lib/client.js:526:17\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at PostgresQueryRunner.query (/home/runner/work/Studio/Studio/studio/src/driver/postgres/PostgresQueryRunner.ts:260:25)\n at InsertQueryBuilder.execute (/home/runner/work/Studio/Studio/studio/src/query-builder/InsertQueryBuilder.ts:163:33)\n at SubjectExecutor.executeInsertOperations (/home/runner/work/Studio/Studio/studio/src/persistence/SubjectExecutor.ts:435:42)\n at SubjectExecutor.execute (/home/runner/work/Studio/Studio/studio/src/persistence/SubjectExecutor.ts:137:9)\n at EntityPersistExecutor.execute (/home/runner/work/Studio/Studio/studio/src/persistence/EntityPersistExecutor.ts:182:21)\n at embed (/home/runner/work/Studio/Studio/studio/tests/helpers.ts:100:19)', message: 'null value in column "bucket_name" of relation "embeds" violates not-null constraint', length: 280, name: 'error', severity: 'ERROR', code: '23502', detail: 'Failing row contains (2, null, null, null, 2024-09-03 14:22:46.888498, 2024-09-03 14:22:46.888498, 5).', hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: 'public', table: 'embeds', column: 'bucket_name', dataType: undefined, constraint: undefined, file: 'execMain.c', line: '2003', routine: 'ExecConstraints', constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, length: 280, severity: 'ERROR', code: '23502', detail: 'Failing row contains (2, null, null, null, 2024-09-03 14:22:46.888498, 2024-09-03 14:22:46.888498, 5).', hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: 'public', table: 'embeds', column: 'bucket_name', dataType: undefined, constraint: undefined, file: 'execMain.c', line: '2003', routine: 'ExecConstraints' }
|
tests/embeds.test.ts > get project embeds:
studio/tests/helpers.ts#L100
QueryFailedError: null value in column "bucket_name" of relation "embeds" violates not-null constraint
❯ PostgresQueryRunner.query src/driver/postgres/PostgresQueryRunner.ts:331:19
❯ InsertQueryBuilder.execute src/query-builder/InsertQueryBuilder.ts:163:33
❯ SubjectExecutor.executeInsertOperations src/persistence/SubjectExecutor.ts:435:42
❯ SubjectExecutor.execute src/persistence/SubjectExecutor.ts:137:9
❯ EntityPersistExecutor.execute src/persistence/EntityPersistExecutor.ts:182:21
❯ embed tests/helpers.ts:100:19
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { query: 'INSERT INTO "embeds"("name", "bucket_name", "thumbnail_contents", "created_at", "updated_at", "project_id") VALUES (DEFAULT, DEFAULT, DEFAULT, DEFAULT, DEFAULT, $1) RETURNING "id", "created_at", "updated_at"', parameters: [ 6 ], driverError: { stack: 'error: null value in column "bucket_name" of relation "embeds" violates not-null constraint\n at /home/runner/work/Studio/Studio/studio/node_modules/pg/lib/client.js:526:17\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at PostgresQueryRunner.query (/home/runner/work/Studio/Studio/studio/src/driver/postgres/PostgresQueryRunner.ts:260:25)\n at InsertQueryBuilder.execute (/home/runner/work/Studio/Studio/studio/src/query-builder/InsertQueryBuilder.ts:163:33)\n at SubjectExecutor.executeInsertOperations (/home/runner/work/Studio/Studio/studio/src/persistence/SubjectExecutor.ts:435:42)\n at SubjectExecutor.execute (/home/runner/work/Studio/Studio/studio/src/persistence/SubjectExecutor.ts:137:9)\n at EntityPersistExecutor.execute (/home/runner/work/Studio/Studio/studio/src/persistence/EntityPersistExecutor.ts:182:21)\n at embed (/home/runner/work/Studio/Studio/studio/tests/helpers.ts:100:19)', message: 'null value in column "bucket_name" of relation "embeds" violates not-null constraint', length: 280, name: 'error', severity: 'ERROR', code: '23502', detail: 'Failing row contains (3, null, null, null, 2024-09-03 14:22:46.929135, 2024-09-03 14:22:46.929135, 6).', hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: 'public', table: 'embeds', column: 'bucket_name', dataType: undefined, constraint: undefined, file: 'execMain.c', line: '2003', routine: 'ExecConstraints', constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, length: 280, severity: 'ERROR', code: '23502', detail: 'Failing row contains (3, null, null, null, 2024-09-03 14:22:46.929135, 2024-09-03 14:22:46.929135, 6).', hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: 'public', table: 'embeds', column: 'bucket_name', dataType: undefined, constraint: undefined, file: 'execMain.c', line: '2003', routine: 'ExecConstraints' }
|
tests/embeds.test.ts > delete embed:
studio/tests/helpers.ts#L100
QueryFailedError: null value in column "bucket_name" of relation "embeds" violates not-null constraint
❯ PostgresQueryRunner.query src/driver/postgres/PostgresQueryRunner.ts:331:19
❯ InsertQueryBuilder.execute src/query-builder/InsertQueryBuilder.ts:163:33
❯ SubjectExecutor.executeInsertOperations src/persistence/SubjectExecutor.ts:435:42
❯ SubjectExecutor.execute src/persistence/SubjectExecutor.ts:137:9
❯ EntityPersistExecutor.execute src/persistence/EntityPersistExecutor.ts:182:21
❯ embed tests/helpers.ts:100:19
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { query: 'INSERT INTO "embeds"("name", "bucket_name", "thumbnail_contents", "created_at", "updated_at", "project_id") VALUES (DEFAULT, DEFAULT, DEFAULT, DEFAULT, DEFAULT, $1) RETURNING "id", "created_at", "updated_at"', parameters: [ 7 ], driverError: { stack: 'error: null value in column "bucket_name" of relation "embeds" violates not-null constraint\n at /home/runner/work/Studio/Studio/studio/node_modules/pg/lib/client.js:526:17\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at PostgresQueryRunner.query (/home/runner/work/Studio/Studio/studio/src/driver/postgres/PostgresQueryRunner.ts:260:25)\n at InsertQueryBuilder.execute (/home/runner/work/Studio/Studio/studio/src/query-builder/InsertQueryBuilder.ts:163:33)\n at SubjectExecutor.executeInsertOperations (/home/runner/work/Studio/Studio/studio/src/persistence/SubjectExecutor.ts:435:42)\n at SubjectExecutor.execute (/home/runner/work/Studio/Studio/studio/src/persistence/SubjectExecutor.ts:137:9)\n at EntityPersistExecutor.execute (/home/runner/work/Studio/Studio/studio/src/persistence/EntityPersistExecutor.ts:182:21)\n at embed (/home/runner/work/Studio/Studio/studio/tests/helpers.ts:100:19)', message: 'null value in column "bucket_name" of relation "embeds" violates not-null constraint', length: 280, name: 'error', severity: 'ERROR', code: '23502', detail: 'Failing row contains (4, null, null, null, 2024-09-03 14:22:46.939928, 2024-09-03 14:22:46.939928, 7).', hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: 'public', table: 'embeds', column: 'bucket_name', dataType: undefined, constraint: undefined, file: 'execMain.c', line: '2003', routine: 'ExecConstraints', constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, length: 280, severity: 'ERROR', code: '23502', detail: 'Failing row contains (4, null, null, null, 2024-09-03 14:22:46.939928, 2024-09-03 14:22:46.939928, 7).', hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: 'public', table: 'embeds', column: 'bucket_name', dataType: undefined, constraint: undefined, file: 'execMain.c', line: '2003', routine: 'ExecConstraints' }
|
Run tests
Process completed with exit code 1.
|