Closed asifroyal closed 7 months ago
Hey @asifroyal thanks for the report.
I've already merged a PR #5481 in CRUD to fix this issue, I will tag a new version in a couple hours when I get to merge some other fixes I have planned.
In the meanwhile I am curious, how you were able to trigger the error ?
Mysql and Sqlite doesn't allow you to create empty tables, so in my head you shouldn't be getting there without atleast one column.
Apparently after some research I found that is possible in pgsql. Is that the case here ?
I will be closing this issue, let me know if you experience issues after I release the new CRUD version later today.
Cheers
Hey @asifroyal thanks for the report.
I've already merged a PR #5481 in CRUD to fix this issue, I will tag a new version in a couple hours when I get to merge some other fixes I have planned.
In the meanwhile I am curious, how you were able to trigger the error ?
Mysql and Sqlite doesn't allow you to create empty tables, so in my head you shouldn't be getting there without atleast one column.
Apparently after some research I found that is possible in pgsql. Is that the case here ?
I will be closing this issue, let me know if you experience issues after I release the new CRUD version later today.
Cheers
Yes you are correct. I am using pgsql.
Bug report
What I did
After updating to Laravel 11 with PHP version 8.2, the following error appears inside the CRUDController function:
What I expected to happen
??
What happened
Is it a bug in the latest version of Backpack?
After I run
composer update backpack/crud
the bug... is it still there?Yes
Backpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is:PHP VERSION: