Defenestrația
Troubleshooting CSV Import
I am trying to use the new CSV import function in Filament 3.1 but I only get the very unhelpful error message:
local.ERROR: Multiple types of exceptions occurred: [ErrorException], [Illuminate\Database\QueryException] {"userId":1,"exception":"[object] (Exception(code: 0): Multiple types of exceptions occurred: [ErrorException], [Illuminate\\Database\\QueryException] at /var/www/html/vendor/filament/actions/src/Imports/Jobs/ImportCsv.php:174)
What can I do to get more fidelity on what errors are actually occurring or what I'm doing wrong with the Import action?2 replies
RelationManager not displaying until another action is taken
I'm not even sure where to begin troubleshooting this... on my Filament site, none of my RelationManager tables will load unless I take another action on the page. For instance, if i open my list I will not see any items until after I try to delete (and then cancel on the modal) the list. As soon as I click on the delete header action, the RelationManager will load.
Where can I even start looking to figure out why this is happening?
3 replies
Modifying the breadcrumbs
Is there a way to modify the breadcrumbs for a resource? For instance, if I go to http://localhost/app/posts/4/edit, how do I get the breadcrumbs to read:
Threads > Example Thread > My Post Title > Edit
instead of:
Posts > My Post Title > Edit
5 replies
mutateFormDataUsing not called if no form is present
I am trying to use a CreateAction on a RelationManager to create a new item. There is no form data the user needs to enter. The item should be created automatically using the parent model's ID and
auth()->id()
. I am trying to use mutateFormDataUsing to inject the user_id into the form data before saving, but it does not seem to be called when there isn't a form modal...4 replies