Skip to content

feat(db-postgres): Add multiple field sort by string #6390

feat(db-postgres): Add multiple field sort by string

feat(db-postgres): Add multiple field sort by string #6390

Triggered via pull request May 22, 2024 08:57
Status Failure
Total duration 4h 55m 36s
Artifacts 17

main.yml

on: pull_request
Matrix: templates
Matrix: tests-e2e
Matrix: tests-int
tests-unit
27s
tests-unit
app-build-with-packed
2m 5s
app-build-with-packed
tests-type-generation
24s
tests-type-generation
All Green
0s
All Green
Fit to window
Zoom out
Zoom in

Annotations

41 errors
app-build-with-packed
Process completed with exit code 1.
tests-e2e (uploads)
Process completed with exit code 1.
tests-e2e (access-control)
Process completed with exit code 1.
tests-e2e (_community)
Process completed with exit code 1.
tests-e2e (localization)
Process completed with exit code 1.
tests-e2e (field-error-states)
Process completed with exit code 1.
tests-e2e (live-preview)
Process completed with exit code 1.
tests-e2e (fields-relationship)
Process completed with exit code 1.
tests-e2e (plugin-form-builder)
Process completed with exit code 1.
collections-rest › CRUD › should create: packages/db-mongodb/src/queries/buildSortParam.ts#L31
TypeError: Cannot read properties of undefined (reading 'includes') at includes (../packages/db-mongodb/src/queries/buildSortParam.ts:31:36) at Object.find (../packages/db-mongodb/src/find.ts:39:26) at find (../packages/payload/src/collections/operations/find.ts:144:33) at registerLocalStrategy (../packages/payload/src/auth/strategies/local/register.ts:23:24) at createOperation (../packages/payload/src/collections/operations/create.ts:233:13) at Object.onInit (collections-rest/config.ts:284:5) at BasePayload.init (../packages/payload/src/index.ts:430:53) at getPayloadHMR (../packages/next/src/utilities/getPayloadHMR.ts:73:22) at initPayloadInt (helpers/initPayloadInt.ts:14:19) at Object.<anonymous> (collections-rest/int.spec.ts:25:33)
collections-rest › CRUD › should find: packages/db-mongodb/src/queries/buildSortParam.ts#L31
TypeError: Cannot read properties of undefined (reading 'includes') at includes (../packages/db-mongodb/src/queries/buildSortParam.ts:31:36) at Object.find (../packages/db-mongodb/src/find.ts:39:26) at find (../packages/payload/src/collections/operations/find.ts:144:33) at registerLocalStrategy (../packages/payload/src/auth/strategies/local/register.ts:23:24) at createOperation (../packages/payload/src/collections/operations/create.ts:233:13) at Object.onInit (collections-rest/config.ts:284:5) at BasePayload.init (../packages/payload/src/index.ts:430:53) at getPayloadHMR (../packages/next/src/utilities/getPayloadHMR.ts:73:22) at initPayloadInt (helpers/initPayloadInt.ts:14:19) at Object.<anonymous> (collections-rest/int.spec.ts:25:33)
collections-rest › CRUD › should count: packages/db-mongodb/src/queries/buildSortParam.ts#L31
TypeError: Cannot read properties of undefined (reading 'includes') at includes (../packages/db-mongodb/src/queries/buildSortParam.ts:31:36) at Object.find (../packages/db-mongodb/src/find.ts:39:26) at find (../packages/payload/src/collections/operations/find.ts:144:33) at registerLocalStrategy (../packages/payload/src/auth/strategies/local/register.ts:23:24) at createOperation (../packages/payload/src/collections/operations/create.ts:233:13) at Object.onInit (collections-rest/config.ts:284:5) at BasePayload.init (../packages/payload/src/index.ts:430:53) at getPayloadHMR (../packages/next/src/utilities/getPayloadHMR.ts:73:22) at initPayloadInt (helpers/initPayloadInt.ts:14:19) at Object.<anonymous> (collections-rest/int.spec.ts:25:33)
collections-rest › CRUD › should find where id: packages/db-mongodb/src/queries/buildSortParam.ts#L31
TypeError: Cannot read properties of undefined (reading 'includes') at includes (../packages/db-mongodb/src/queries/buildSortParam.ts:31:36) at Object.find (../packages/db-mongodb/src/find.ts:39:26) at find (../packages/payload/src/collections/operations/find.ts:144:33) at registerLocalStrategy (../packages/payload/src/auth/strategies/local/register.ts:23:24) at createOperation (../packages/payload/src/collections/operations/create.ts:233:13) at Object.onInit (collections-rest/config.ts:284:5) at BasePayload.init (../packages/payload/src/index.ts:430:53) at getPayloadHMR (../packages/next/src/utilities/getPayloadHMR.ts:73:22) at initPayloadInt (helpers/initPayloadInt.ts:14:19) at Object.<anonymous> (collections-rest/int.spec.ts:25:33)
collections-rest › CRUD › should find with pagination false: packages/db-mongodb/src/queries/buildSortParam.ts#L31
TypeError: Cannot read properties of undefined (reading 'includes') at includes (../packages/db-mongodb/src/queries/buildSortParam.ts:31:36) at Object.find (../packages/db-mongodb/src/find.ts:39:26) at find (../packages/payload/src/collections/operations/find.ts:144:33) at registerLocalStrategy (../packages/payload/src/auth/strategies/local/register.ts:23:24) at createOperation (../packages/payload/src/collections/operations/create.ts:233:13) at Object.onInit (collections-rest/config.ts:284:5) at BasePayload.init (../packages/payload/src/index.ts:430:53) at getPayloadHMR (../packages/next/src/utilities/getPayloadHMR.ts:73:22) at initPayloadInt (helpers/initPayloadInt.ts:14:19) at Object.<anonymous> (collections-rest/int.spec.ts:25:33)
collections-rest › CRUD › should update existing: packages/db-mongodb/src/queries/buildSortParam.ts#L31
TypeError: Cannot read properties of undefined (reading 'includes') at includes (../packages/db-mongodb/src/queries/buildSortParam.ts:31:36) at Object.find (../packages/db-mongodb/src/find.ts:39:26) at find (../packages/payload/src/collections/operations/find.ts:144:33) at registerLocalStrategy (../packages/payload/src/auth/strategies/local/register.ts:23:24) at createOperation (../packages/payload/src/collections/operations/create.ts:233:13) at Object.onInit (collections-rest/config.ts:284:5) at BasePayload.init (../packages/payload/src/index.ts:430:53) at getPayloadHMR (../packages/next/src/utilities/getPayloadHMR.ts:73:22) at initPayloadInt (helpers/initPayloadInt.ts:14:19) at Object.<anonymous> (collections-rest/int.spec.ts:25:33)
collections-rest › CRUD › Bulk operations › should bulk update: packages/db-mongodb/src/queries/buildSortParam.ts#L31
TypeError: Cannot read properties of undefined (reading 'includes') at includes (../packages/db-mongodb/src/queries/buildSortParam.ts:31:36) at Object.find (../packages/db-mongodb/src/find.ts:39:26) at find (../packages/payload/src/collections/operations/find.ts:144:33) at registerLocalStrategy (../packages/payload/src/auth/strategies/local/register.ts:23:24) at createOperation (../packages/payload/src/collections/operations/create.ts:233:13) at Object.onInit (collections-rest/config.ts:284:5) at BasePayload.init (../packages/payload/src/index.ts:430:53) at getPayloadHMR (../packages/next/src/utilities/getPayloadHMR.ts:73:22) at initPayloadInt (helpers/initPayloadInt.ts:14:19) at Object.<anonymous> (collections-rest/int.spec.ts:25:33)
collections-rest › CRUD › Bulk operations › should not bulk update with a bad query: packages/db-mongodb/src/queries/buildSortParam.ts#L31
TypeError: Cannot read properties of undefined (reading 'includes') at includes (../packages/db-mongodb/src/queries/buildSortParam.ts:31:36) at Object.find (../packages/db-mongodb/src/find.ts:39:26) at find (../packages/payload/src/collections/operations/find.ts:144:33) at registerLocalStrategy (../packages/payload/src/auth/strategies/local/register.ts:23:24) at createOperation (../packages/payload/src/collections/operations/create.ts:233:13) at Object.onInit (collections-rest/config.ts:284:5) at BasePayload.init (../packages/payload/src/index.ts:430:53) at getPayloadHMR (../packages/next/src/utilities/getPayloadHMR.ts:73:22) at initPayloadInt (helpers/initPayloadInt.ts:14:19) at Object.<anonymous> (collections-rest/int.spec.ts:25:33)
collections-rest › CRUD › Bulk operations › should not bulk update with a bad relationship query: packages/db-mongodb/src/queries/buildSortParam.ts#L31
TypeError: Cannot read properties of undefined (reading 'includes') at includes (../packages/db-mongodb/src/queries/buildSortParam.ts:31:36) at Object.find (../packages/db-mongodb/src/find.ts:39:26) at find (../packages/payload/src/collections/operations/find.ts:144:33) at registerLocalStrategy (../packages/payload/src/auth/strategies/local/register.ts:23:24) at createOperation (../packages/payload/src/collections/operations/create.ts:233:13) at Object.onInit (collections-rest/config.ts:284:5) at BasePayload.init (../packages/payload/src/index.ts:430:53) at getPayloadHMR (../packages/next/src/utilities/getPayloadHMR.ts:73:22) at initPayloadInt (helpers/initPayloadInt.ts:14:19) at Object.<anonymous> (collections-rest/int.spec.ts:25:33)
collections-rest › CRUD › Bulk operations › should not bulk update with a read restricted field query: packages/db-mongodb/src/queries/buildSortParam.ts#L31
TypeError: Cannot read properties of undefined (reading 'includes') at includes (../packages/db-mongodb/src/queries/buildSortParam.ts:31:36) at Object.find (../packages/db-mongodb/src/find.ts:39:26) at find (../packages/payload/src/collections/operations/find.ts:144:33) at registerLocalStrategy (../packages/payload/src/auth/strategies/local/register.ts:23:24) at createOperation (../packages/payload/src/collections/operations/create.ts:233:13) at Object.onInit (collections-rest/config.ts:284:5) at BasePayload.init (../packages/payload/src/index.ts:430:53) at getPayloadHMR (../packages/next/src/utilities/getPayloadHMR.ts:73:22) at initPayloadInt (helpers/initPayloadInt.ts:14:19) at Object.<anonymous> (collections-rest/int.spec.ts:25:33)
tests-e2e (plugin-nested-docs)
Process completed with exit code 1.
tests-e2e (plugin-seo)
Process completed with exit code 1.
tests-e2e (plugin-cloud-storage)
Process completed with exit code 1.
tests-e2e (auth)
Process completed with exit code 1.
tests-e2e (i18n)
Process completed with exit code 1.
tests-e2e (admin__e2e__2)
Process completed with exit code 1.
tests-e2e (fields__collections__Point)
Process completed with exit code 1.
tests-e2e (admin__e2e__1)
Process completed with exit code 1.
tests-e2e (fields__collections__Lexical__e2e__blocks)
Process completed with exit code 1.
tests-e2e (fields__collections__Text)
Process completed with exit code 1.
tests-e2e (fields__collections__Date)
Process completed with exit code 1.
tests-e2e (fields__collections__Blocks)
Process completed with exit code 1.
tests-e2e (fields__collections__Lexical__e2e__main)
Process completed with exit code 1.
tests-e2e (fields__collections__Array)
Process completed with exit code 1.
tests-e2e (fields__collections__Tabs)
Process completed with exit code 1.
tests-e2e (fields__collections__Upload)
Process completed with exit code 1.
tests-e2e (fields)
Process completed with exit code 1.
tests-e2e (fields__collections__Relationship)
Process completed with exit code 1.
tests-e2e (fields__collections__RichText)
Process completed with exit code 1.
tests-e2e (fields__collections__Number)
Process completed with exit code 1.
tests-e2e (versions)
Process completed with exit code 1.
All Green
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
test-results-_community Expired
1.64 MB
test-results-access-control Expired
1.65 MB
test-results-auth Expired
3.58 MB
test-results-field-error-states Expired
1.64 MB
test-results-fields-relationship Expired
1.66 MB
test-results-fields__collections__Array Expired
96.4 KB
test-results-fields__collections__Blocks Expired
96.5 KB
test-results-fields__collections__Relationship Expired
96.5 KB
test-results-i18n Expired
794 KB
test-results-live-preview Expired
1.68 MB
test-results-localization Expired
1.65 MB
test-results-plugin-cloud-storage Expired
1.64 MB
test-results-plugin-form-builder Expired
1.67 MB
test-results-plugin-nested-docs Expired
1.41 MB
test-results-plugin-seo Expired
1.33 MB
test-results-uploads Expired
62.8 KB
test-results-versions Expired
29.4 MB