Skip to content
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

Fixed customer export error on customer grid page. #95

Merged
merged 2 commits into from
Aug 29, 2019

Conversation

Taku-Yamashita
Copy link
Contributor

I got the below error when I try to export customer data as CSV on a customer grid page.

Notice: Undefined index: listing_top in /xxx/vendor/magento/module-ui/Model/Export/MetadataProvider.php on line 224

↓$childComponents has order numbers as array keys instead of string like 'listing_top' when I enable CommunityEngineering_JapaneseAddress module.

Magento\Ui\Model\Export\MetadataProvider

223 $childComponents = $component->getChildComponents();
224 $listingTop = $childComponents['listing_top'];

The reason is that the below method changes array keys to order numbers.

CommunityEngineering\JapaneseAddress\Plugin\Ui\View\Element\PartiallyConfiguredUiComponent::afterGetChildComponents

@magento-cicd2
Copy link

magento-cicd2 commented Aug 28, 2019

CLA assistant check
All committers have signed the CLA.

@HirokazuNishi HirokazuNishi merged commit 2199a42 into magento:2.3-develop Aug 29, 2019
@HirokazuNishi HirokazuNishi deleted the fix-customer-export branch August 29, 2019 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants