Open sbidoul opened 4 years ago
After upgrading to the latest version sites where locale_mapping is not set crash with the following error.
locale_mapping
This is surprising because https://github.com/shopinvader/locomotive-shopinvader/commit/fe895e2bc85e7a4e5164b70ef4a9c66762c079d7 seems to care for that.
May 20 11:46:59 shopinvader-demo bundle[23517]: F, [2020-05-20T11:46:59.918772 #23521] FATAL -- : vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/common.rb:156:in `parse' May 20 11:46:59 shopinvader-demo bundle[23517]: vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/common.rb:156:in `parse' May 20 11:46:59 shopinvader-demo bundle[23517]: vendor/bundle/ruby/2.6.0/bundler/gems/locomotive-shopinvader-4c1baa66d702/lib/shop_invader/services/concerns/locale.rb:10:in `map_locale' May 20 11:46:59 shopinvader-demo bundle[23517]: vendor/bundle/ruby/2.6.0/bundler/gems/locomotive-shopinvader-4c1baa66d702/lib/shop_invader/services/erp_service.rb:185:in `get_header_for_request' May 20 11:46:59 shopinvader-demo bundle[23517]: vendor/bundle/ruby/2.6.0/bundler/gems/locomotive-shopinvader-4c1baa66d702/lib/shop_invader/services/erp_service.rb:16:in `initialize'
After upgrading to the latest version sites where
locale_mapping
is not set crash with the following error.This is surprising because https://github.com/shopinvader/locomotive-shopinvader/commit/fe895e2bc85e7a4e5164b70ef4a9c66762c079d7 seems to care for that.