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

Localization not working #6272

Closed
transilience opened this issue Aug 2, 2020 · 1 comment
Closed

Localization not working #6272

transilience opened this issue Aug 2, 2020 · 1 comment
Labels
bug For issues that describe a defect or regression in the released software needs triage For issues that are awaiting triage by the core development team

Comments

@transilience
Copy link

transilience commented Aug 2, 2020

Issue Description

When starting up as a fresh server, we tried to change the localization field to meet our country needs,

Timezone : Asia/ Calcutta
Currency : INR
Base unit of length : Centimeters
Base unit of Measure : Grams
Language : English

Steps to Reproduce

  1. Clone the git repo
  2. make
  3. setup a new account from localhot:4080
  4. create a dummy product
  5. go to localization from the menu
  6. set the above settings

Versions

3.8.0

08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:497 Form "onSubmit" function error: TypeError: Cannot read property 'weight' of null
    at onSubmit (08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:729)
    at e (08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:497)
    at l (08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:446)
    at Generator.i [as _invoke] (08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:446)
    at Generator.forEach.e.<computed> [as next] (08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:446)
    at r (08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:34)
    at s (08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:34)
    at 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:1
e @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:497
l @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:446
i @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:446
forEach.e.<computed> @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:446
r @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:34
c @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:34
(anonymous) @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:1
Promise.then (async)
n.then @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:574
r @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:34
s @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:34
(anonymous) @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:1
Promise.then (async)
n.then @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:574
r @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:34
s @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:34
(anonymous) @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:34
(anonymous) @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:34
Z @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:497
Y @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:497
U @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:729
c @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:322
h @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:322
m @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:322
C @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:322
T @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:322
O @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:322
N @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:322
zn @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:322
tc @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:322
qe @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:322
Dn @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:322
(anonymous) @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:322
n.unstable_runWithPriority @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:358
rc @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:322
Rn @ 08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:322


Edit

  • our shipping default values were null
Form "onSubmit" function error: TypeError: "m.defaultParcelSize is null"
    onSubmit http://localhost:4080/08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:729
    e http://localhost:4080/08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:497
    l http://localhost:4080/08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:446
    i http://localhost:4080/08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:446
    t http://localhost:4080/08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:446
    r http://localhost:4080/08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:34
    s http://localhost:4080/08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:34
    bindEnvironment http://localhost:4080/08eda9b3702e26bd409ab3009b7aad16fbe5e744.js?meteor_js_resource=true:1

Possible solution

  • Set default height weight etc in the shipping section as 0
@transilience transilience added bug For issues that describe a defect or regression in the released software needs triage For issues that are awaiting triage by the core development team labels Aug 2, 2020
@MohanNarayana
Copy link
Contributor

Not reproducable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For issues that describe a defect or regression in the released software needs triage For issues that are awaiting triage by the core development team
Projects
None yet
Development

No branches or pull requests

2 participants