Novik / ruTorrent

Yet another web front-end for rTorrent
Other
2.01k stars 408 forks source link

File list disappears after failure to download file #2600

Closed Csaba27 closed 9 months ago

Csaba27 commented 9 months ago

Please complete the following tasks.

Tell us about your environment

Web Browser: Google Chrome 119.0.6045.160 ruTorrent: v4.2.8 PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS) OS: Ubuntu 22.04.3 LTS

Tell us how you installed ruTorrent

Rtorrent installed via repo with default .rtorrent.rc config file, Rutorrent from git

Describe the bug

So I want to download an NFO file for example from torrent files. After double-click a file in the "Files" section, all files are disappearing. When I open the browser console and then I try it again, then it works.

Steps to reproduce

  1. Click a torrent
  2. Click "Files" section
  3. Double click to download a file
  4. After this see the error (everything disappears)

Expected behavior

No response

Additional context

No response

stickz commented 9 months ago

Please provide more details about error you're experiencing.

Csaba27 commented 9 months ago

There is no JavaScript error or PHP. The file download sometimes working with double click sometimes not.

stickz commented 9 months ago

Thank for confirming that. I have verified this in fact a bug with ruTorrent v4.2. If the file from the "File List" fails to download (after double left click), the entire file list will disappear, until the page is refreshed.

stickz commented 9 months ago

Fixed in v4.2.9.

Csaba27 commented 9 months ago

Nice work, thank you!