Chip, Datagrid & Datalist do not handle null entry. #1372
Closed
karandatwani92
started this conversation in
Public Beta
Replies: 1 comment 2 replies
-
I don't get how this could fix, if you say the database is empty for a while, how come |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When the demo is being refreshed every hour. Tables are empty for a short span while refreshing.
In that duration
/new-in-v7
page start throwing error because eloquent query results null.Which also means that
Datagrid
does not handle null entry. Developer may set a dynamic query and null would cause 500.It should show something else not 500.
I find this same problem in
Steps to reproduce:
At line 77, Replace:
:entry="\App\Models\PetShop\Owner::inRandomOrder()->first()"
with
:entry="\App\Models\PetShop\Owner::find(12152650)"
Beta Was this translation helpful? Give feedback.
All reactions