We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.1
9.52
8.1.0
the Sheet method is called multiple times. and are repeatedly making duplications during the import of multiple sheets.
class StudentImport implements WithMultipleSheets {
public function sheets(): array { return [ 'Student' => new StudentSheet(), 'Fees' => new FeesSheet(), ]; }
} and here is student sheet
class CustomerSheet implements ToCollection { public function collection(Collection $row) {
return newStudent( [ 'first_name' => $row['first_name'] ?? null, 'middle_name' => $row['middle_name'] ?? null, 'last_name' => $row['last_name'] ?? null ])
}
Sheet method do not call multiple time as same sheet are getting duplicate.
The text was updated successfully, but these errors were encountered:
Duplicate of #3891
Sorry, something went wrong.
No branches or pull requests
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
What version of Laravel are you using?
9.52
What version of PHP are you using?
8.1.0
Describe your issue
the Sheet method is called multiple times. and are repeatedly making duplications during the import of multiple sheets.
How can the issue be reproduced?
class StudentImport implements WithMultipleSheets
{
}
and here is student sheet
class CustomerSheet implements ToCollection
{
public function collection(Collection $row)
{
}
What should be the expected behaviour?
Sheet method do not call multiple time as same sheet are getting duplicate.
The text was updated successfully, but these errors were encountered: