PLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

  1. Andrey Konopkov
  2. PLCnext Store
  3. Thursday, 15 October 2020

Hello,

 

PLCnext Store frontend fetches user country and all countries list from API

https://www.plcnextstore.com/service/api/iptocountry

https://www.plcnextstore.com/service/api/country

And then if no country with such `iso` key (e.g 'RU' for Russia) is found in a list, it fails to access `status` key of a country object, which is `undefined`.
You can find `TypeError: Cannot read property 'status' of undefined` message in a console. The user is not getting any notification, and the `Loading` spinner keeps rotating indefinitely.
 

console.log

 
Daniel PLCnext Store Team Accepted Answer Pending Moderation
1
Votes
Undo

Hello Andrey,

thank you very much for pointing out this situation to us.
This is a bug in the backend.
We have now fixed the bug and you should have access to the services of the PLCnext Store again.

Phoenix Contact Electronics Headquarters - PLCnext Store Team

  1. 2 days ago
  2. PLCnext Store
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.