Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug: Cannot destructure property 'options' of 'object null' as it is null #7284

Closed
1 task done
wingkwong opened this issue Dec 23, 2023 · 0 comments 路 Fixed by #7287
Closed
1 task done

馃悰 Bug: Cannot destructure property 'options' of 'object null' as it is null #7284

wingkwong opened this issue Dec 23, 2023 · 0 comments 路 Fixed by #7287
Labels
馃悰 Type: Bug Something is broken or incorrect unexpectedly.

Comments

@wingkwong
Copy link
Member

Please confirm if bug report does NOT exists already ?

  • I confirm there is no existing issue for this

Steps to reproduce ?

  • reported by discord user
  • working once downgraded to 0.202.8
  • all the select options are strings with only literals and spaces

Cannot destructure property 'options' of 'object null' as it is null.
2023-12-22 09:04:29 TypeError: Cannot destructure property 'options' of 'object null' as it is null.
2023-12-22 09:04:29 at /usr/src/app/docker/main.js:2:533026
2023-12-22 09:04:29 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-12-22 09:04:29 at async BaseModelSqlv2.validateOptions (/usr/src/app/docker/main.js:2:532986)
2023-12-22 09:04:29 at async BaseModelSqlv2.validate (/usr/src/app/docker/main.js:2:532272)
2023-12-22 09:04:29 at async BaseModelSqlv2.nestedInsert (/usr/src/app/docker/main.js:2:517074)
2023-12-22 09:04:29 at async DatasService.dataInsert (/usr/src/app/docker/main.js:2:1689579)
2023-12-22 09:04:29 at async DataAliasController.dataInsert (/usr/src/app/docker/main.js:2:366888)
2023-12-22 09:04:41 TypeError: Cannot destructure property 'options' of 'object null' as it is null.
2023-12-22 09:04:41 at /usr/src/app/docker/main.js:2:533026
2023-12-22 09:04:41 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-12-22 09:04:41 at async BaseModelSqlv2.validateOptions (/usr/src/app/docker/main.js:2:532986)
2023-12-22 09:04:41 at async BaseModelSqlv2.validate (/usr/src/app/docker/main.js:2:532272)
2023-12-22 09:04:41 at async BaseModelSqlv2.nestedInsert (/usr/src/app/docker/main.js:2:517074)
2023-12-22 09:04:41 at async DatasService.dataInsert (/usr/src/app/docker/main.js:2:1689579)
2023-12-22 09:04:41 at async DataAliasController.dataInsert (/usr/src/app/docker/main.js:2:366888)

Desired Behavior

.

Project Details

Node: v18.18.2
Arch: x64
Platform: linux
Docker: true
RootDB: pg
PackageVersion: 0.202.10

Attachments

No response

@wingkwong wingkwong added this to the vNext milestone Dec 26, 2023
@wingkwong wingkwong added the 馃悰 Type: Bug Something is broken or incorrect unexpectedly. label Dec 26, 2023
@dstala dstala removed this from the vNext milestone Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃悰 Type: Bug Something is broken or incorrect unexpectedly.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants