Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5249 closed Bug (fixed)

error parsing json in locales that use "," as a decimal separator

Reported by: mva.name Owned by: jordan
Priority: Normal Milestone: 2.77
Component: libtransmission Version: 2.75
Severity: Major Keywords:
Cc:

Description

It is some bug appeared in 2.75 and still exists in 2.76: If user has system locale, which uses "," (instead of ".") as decimal separator in LC_ALL (for example, ru_RU.UTF-8), then transmission-qt shows ratio as integer values, despite of it real float value (look at attach).

Change History (5)

comment:1 Changed 8 years ago by jordan

  • Component changed from Qt Client to libtransmission
  • Milestone changed from None Set to 2.80
  • Status changed from new to assigned
  • Summary changed from transmission-qt shows only integer part of ratio in torrents list. to error parsing json in locales that use "," as a decimal separator
  • Version changed from 2.75+ to 2.75

r13860: add unit tests to test for this bug.

comment:2 Changed 8 years ago by jordan

  • Resolution set to fixed
  • Status changed from assigned to closed

r13861: fix the bug; the new locale unit tests in json-test pass now

comment:3 Changed 8 years ago by jordan

  • Milestone changed from 2.80 to 2.77

comment:4 Changed 8 years ago by jordan

Backported to 2.7x in r13918.

comment:5 Changed 8 years ago by jordan

  • Severity changed from Normal to Major
Note: See TracTickets for help on using tickets.