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: Upgrade to 0.202.9 causes NocoDB to crash when visualizing a Grid View with Group By #7205

Closed
1 task done
progamax opened this issue Dec 11, 2023 · 5 comments
Closed
1 task done
Assignees
Milestone

Comments

@progamax
Copy link

progamax commented Dec 11, 2023

Please confirm if bug report does NOT exists already ?

  • I confirm there is no existing issue for this

Steps to reproduce ?

  • Have a Table with a Grid View and a Group By on it
  • Upgrade to 0.202.9 (from 0.202.8 in my case)
  • Try to open this Grid View

Desired Behavior

Should not crash

Project Details

NocoDB as Node project. v0.202.9

Attachments

Log :
[Nest] 48184 - 12/12/2023 00:13:09 ERROR [GlobalExceptionFilter] Cannot read properties of null (reading 'title')
TypeError: Cannot read properties of null (reading 'title')
at D:\wilful_crane\node_modules\nocodb\dist\bundle.js:2:541954
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BaseModelSqlv2.substituteColumnIdsWithColumnTitles (D:\wilful_crane\node_modules\nocodb\dist\bundle.js:2:542018)
at async BaseModelSqlv2.execAndParse (D:\wilful_crane\node_modules\nocodb\dist\bundle.js:2:541383)
at async BaseModelSqlv2.groupBy (D:\wilful_crane\node_modules\nocodb\dist\bundle.js:2:489309)
at async DatasService.getDataGroupBy (D:\wilful_crane\node_modules\nocodb\dist\bundle.js:2:1630385)
at async DatasService.dataGroupBy (D:\wilful_crane\node_modules\nocodb\dist\bundle.js:2:1627275)
at async DataAliasController.dataGroupBy (D:\wilful_crane\node_modules\nocodb\dist\bundle.js:2:366362)

I think this is related to #7060 changes

@progamax progamax changed the title 馃悰 Bug: Upgrade to 0.202.9 causes NocoDB to crash when it has a Grid View with Group By 馃悰 Bug: Upgrade to 0.202.9 causes NocoDB to crash when visualizing a Grid View with Group By Dec 11, 2023
@wingkwong wingkwong assigned mertmit and unassigned o1lab Dec 12, 2023
@wingkwong wingkwong added this to the vNext milestone Dec 12, 2023
@mertmit
Copy link
Member

mertmit commented Dec 12, 2023

Hi @progamax, what is your NC_DB type?

@progamax
Copy link
Author

Hi @mertmit, I use a Mysql 8.0 database

@mertmit
Copy link
Member

mertmit commented Dec 12, 2023

I couldn't reproduce this. Can you share what is the type of field you are trying to group by?

@mertmit
Copy link
Member

mertmit commented Dec 12, 2023

If your group by field type is BT, can you try this build:
docker run -d -p 8888:8080 nocodb/nocodb-timely:0.202.9-pr-7146-20231204-0725
There was an issue resolved but not yet released, I think might be same with yours.
If build is working for you, your issue should be fixed by next release, please let me know the result.

@progamax
Copy link
Author

Yes that's the type of my field. And the build solves my issue, thanks !

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

No branches or pull requests

4 participants