Skip to content

PLCnext Store frontend seems to be broken outside of selected countries list

edited October 2020 in PLCnext Store

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

 

Comments

  • 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.

Sign In or Register to comment.