reactioncommerce/reaction

Wrong scale for RUB currency

Offen

#6.519 geöffnet am 27.10.2017

 (8 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)JavaScript (2.198 Forks)batch import
buggood first issuehelp wanted

Repository-Metriken

Stars
 (12.181 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Prices in Russian rubles appears 100 times as much as their correct values. For example, a price "$12.99 - $29.99" shows up in rubles like "75490 - 1 74284 руб." Correct values should be "754,90 - 1 742,84 руб."

Reproduces on the main page and the product details pages.

Fixed this in local database by removing "scale: 0" property from meteor.Shops.currencies.RUB with query: db.Shops.updateMany({}, {$unset: {"currencies.RUB.scale": ""}})

Versions: Node: 6.11.0 NPM: 3.10.10 Meteor Node: 4.8.4 Meteor NPM: 4.6.1 Reaction CLI: 0.19.0 Reaction: 1.5.4 Reaction branch: master

Contributor Guide