New issue
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
maatwebsite multiple sheets mapping data show wrong[BUG] #2855
Comments
I don't understand the issue. You are getting an Eloquent Bug model in the map method, that's expected behaviour... ? |
@patrickbrouwers. The issue is The query is returning correct in FromCollection method and mapping also came same value right? |
in |
@patrickbrouwers collection() i call get() function still mapping irreverent record. |
I don't know then, if you think it really is a bug in our package, please provide a minimal reproduction situation in a failing unit test or example repository that I can run on my computer. |
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. |
Prerequisites
Versions
3.1
Description
I am creating multiple sheet. First sheet data mapping is working good and next page data full wrong data mapped
Controller Code:
Export Code:
Bug Activities Code:
Steps to Reproduce
Expected behavior:
Array
(
[0] => Array
(
[id] => 8
[bug_id] => BK-931062
[user_id] => 37
[activity] => The Bug is Open on BK-931062
[created_at] => 2020-07-17T17:38:06.000000Z
[updated_at] => 2020-07-17T17:38:06.000000Z
[status] => 1
[user_name] => Naveen
)
)
This data need to mapping in bug_activities
Actual behavior:
nApp\Model\bug Object
(
[table:protected] => bugs
[dates:protected] => Array
(
[0] => created_at
[1] => updated_at
)
)
Additional Information
NA
The text was updated successfully, but these errors were encountered: