Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1655 closed Bug (fixed)

rpc-spec 4.2: "session-stats" returns a new object instead of the response arguments.

Reported by: w4pp Owned by: charles
Priority: Normal Milestone: 1.50
Component: libtransmission Version: 1.42
Severity: Normal Keywords:
Cc:

Description

http://trac.transmissionbt.com/browser/trunk/doc/rpc-spec.txt#L339

Request method "session-stats" returns:

{
  "result":"success",
  "arguments":
  {
    "session-stats":
    {
      "downloadSpeed":0,
      "uploadSpeed":0,
      "torrentCount":3,
      "activeTorrentCount":0,
      "pausedTorrentCount":3
    }
  },
  "tag":1
}

But should return:

{
  "result":"success",
  "arguments":
  {
    "downloadSpeed":0,
    "uploadSpeed":0,
    "torrentCount":3,
    "activeTorrentCount":0,
    "pausedTorrentCount":3
  },
  "tag":1
}

Change History (6)

comment:1 Changed 12 years ago by w4pp

I'm not sure what Component this involves, libtransmission maybe?

comment:2 Changed 12 years ago by w4pp

  • Component changed from Daemon to libtransmission

comment:3 Changed 12 years ago by charles

  • Status changed from new to assigned
  • Version changed from 1.42+ to 1.42

comment:4 Changed 12 years ago by charles

  • Milestone changed from 1.50 to 1.60

comment:5 Changed 12 years ago by charles

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

added to trunk for 1.60 in r7696.

comment:6 Changed 12 years ago by charles

  • Milestone changed from 1.60 to 1.50
Note: See TracTickets for help on using tickets.