-
-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
Hello @simonhamp,
I am encountering an issue with the Laravel Nova CSV import package where the model() function is not being called during the import process, even though the map() function is executed successfully. Here’s a detailed description of the problem:
- Environment: Laravel Nova with the nova-csv-import package.
- Issue: The model() function in Importer.php is not triggered during imports, despite successful execution and data output from the map() function. This issue prevents any model from being created or saved.
Current Observations:
- The map() function is confirmed to be called and operates correctly (I have debug logs and dumps to verify the data being processed and returned by map()).
- There are no visible errors or exceptions thrown that I can detect; error handling paths in the import process (like SkipsOnError and SkipsOnFailure) do not seem to capture any issues.
- Authentication and session state should not be impacting this, as I’ve checked the relevant Auth conditions.
I have recorded a video demonstrating the issue available here: https://share.zight.com/o0uLo75K. Additionally, the public repository for this project can be found here: https://github.com/HeadStudios/CSVImportPackage.
I am working with a limited budget but would greatly appreciate any guidance or suggestions you might have that could lead me to a resolution.
Thank you for any help or insight you can provide!
Metadata
Metadata
Assignees
Labels
No labels