Closed jargoud closed 1 month ago
I'm interested on a way to solve this issue, I confirm that imports with chunk and skiponfailure have no way to easily gather failures
This bug report has been automatically closed because it has not had recent activity. If this is still an active bug, please comment to reopen. Thank you for your contributions.
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
What version of Laravel Excel are you using?
3.1.55
What version of Laravel are you using?
10.48.7
What version of PHP are you using?
8.3.8
Describe your issue
When using both
SkipsFailures
trait andWithChunkReading
interface, it seems that only the chunk import instancefailures
collection is populated, not the original import one, which means it isn't possible to execute a code similar to the one from the documentation:In the above example,
$import->failures()
will always be empty.How can the issue be reproduced?
What should be the expected behaviour?
It'd be great to have a way to populate
failures
in the import instance.