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

customer-addresses.js Error #36

Closed
juhanix opened this issue Feb 16, 2017 · 3 comments
Closed

customer-addresses.js Error #36

juhanix opened this issue Feb 16, 2017 · 3 comments
Milestone

Comments

@juhanix
Copy link

juhanix commented Feb 16, 2017

What I expected

I exptected no error message

What happened instead

Chrome Developer Tools throws the error
Uncaught TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at Object.getAddressItems (customer-addresses.js:20) at address-list.js:13 at Object.execCb (require.js:1650) at Object.context.execCb (resolver.js:131) at Module.check (require.js:866) at Module.<anonymous> (require.js:1113) at require.js:132 at require.js:1156 at each (require.js:57) at Module.emit (require.js:1155) at Module.check (require.js:917) at Module.enable (require.js:1143) at Module.init (require.js:774) at Module.<anonymous> (require.js:991) at require.js:132

after enabling Amazon_Login (Core and Payment are enabled), if i disable Amazon_Login it does not throw the error anymore.

Steps to reproduce the issue

  • php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment --clear-static-content
  • php bin/magento setup:upgrade
  • php bin/magento setup:di:compile
  • php bin/magento setup:static-content:deploy de_DE
  • surf any site on the webshop (except: /checkout/ and /checkout/cart/)
  • error message appears

FYI:

  • Checkout_Cart and Checkout_Process do not throw this error
  • system.log not throwing nothing of importance

Your setup

  • Magento version: 2.1.4
  • Magento Edition: Community
  • JavaScript Console:

image

Conclusion

The site does not break, everything else seems to load fine, I'm just curious if anyone else is also having the same problem?

@danielneu danielneu added the bug label Feb 16, 2017
@danielneu danielneu added this to the Future milestone Feb 16, 2017
@danielneu
Copy link
Contributor

Thanks for reporting this issue.

I have seen this happening myself but did not associate it with the Amazon Payments module.
This will be investigated soon.

Best wishes
Daniel

@OnTapSupport
Copy link

Hi @juhanix

We will be assisting you on behalf of Amazon to get this matter resolved. We are going to replicate the environment you have suggested, and let you know what we find.

Regards,
Support Team.

@danielneu danielneu added the ack label Feb 23, 2017
@danielneu danielneu modified the milestones: 1.1.1, Future Mar 7, 2017
@danielneu
Copy link
Contributor

Hello,

sorry for the delay in getting back to you.
It seems this is not related to the Amazon Pay module, it looks like the Magento 2 core issue: magento/magento2#7115

There is a fix available since quite a while, but it did not make it into the Magento core code yet:
magento/magento2@0195c22

Best wishes
Daniel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants