#3105 closed Bug (fixed)
RPC doesn't correctly honor files wanted / unwanted when adding a torrent
Reported by: | Elbandi | Owned by: | charles |
---|---|---|---|
Priority: | Normal | Milestone: | 1.93 |
Component: | libtransmission | Version: | 1.92 |
Severity: | Normal | Keywords: | |
Cc: |
Description
I added a torrent with our TRD. If i set the files wanted/unwanted in one rpc when i upload the torrent, there is a bug:
i selected only one file to download (number 31) http://pastebin.com/GcN415yD
But the TRANSFER info says:
Total size: 1.2 GB (1.2 GB wanted)
and if i start the torrent, it's downloading all files.
here is the rpc call: http://pastebin.com/haDx2EGT
(if the torrentadd and files wanted rpc are 2 different calls, it's working good)
Change History (7)
comment:1 Changed 13 years ago by Elbandi
- Component changed from Transmission to libtransmission
- Owner set to charles
comment:2 Changed 13 years ago by trzj
comment:3 Changed 13 years ago by charles
- Keywords backport-1.9x added
- Milestone changed from None Set to 2.00
- Status changed from new to assigned
comment:4 Changed 13 years ago by charles
Fixed in trunk for 2.00 by r10496
comment:5 Changed 13 years ago by charles
- Resolution set to fixed
- Status changed from assigned to closed
comment:6 Changed 13 years ago by charles
- Keywords backport-1.9x removed
- Milestone changed from 2.00 to 1.93
Backported to 1.9x by r10566
comment:7 Changed 13 years ago by charles
- Summary changed from Torrentadd over rpc not files wanted/unwanted bug to RPC doesn't correctly honor files wanted / unwanted when adding a torrent
Note: See
TracTickets for help on using
tickets.
I also see this bug and have a work around for it.
in file libtransmission/torrent.c
in function static void torrentInit( tr_torrent * tor, const tr_ctor * ctor )
before
add tr_ctorInitTorrentWanted( ctor, tor );
to reconfig the wanted/unwanted
I think something should be overwrite and reconfig it. I am not know who/where the wanted/unwanted config were overwrited.
only for reference.