Flood-UI / flood

A web UI for rTorrent, qBittorrent and Transmission with a Node.js backend and React frontend. Migrate to v4: https://github.com/jesec/flood/wiki/Migrate-from-older-versions-of-Flood.

Home Page:https://flood.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

checking on Enable DHT setting does not update checked state

perrin4869 opened this issue · comments

Type: Bug Report

Your Environment

  • Version used: bb55350
  • Environment name and version:
    • Node.js version 13.10.1
    • npm version 6.12.1
    • Web browser Chromium 80
  • Operating System and version: FreeNAS 11.3U3

Summary

Trying to enable DHT settings in the settings modal is not working. Checking the request in the developer tools showed that the request body did not change according to the checkbox in the UI. Sending the correct request through CURL did update the state correctly. Moreover, checking the React developer tools, I could confirm the checked state was not changing according to the checkbox.

Expected Behavior

DHT should enable/disable with GUI

Current Behavior

No update

Possible Solution

This is a frontend problem. I could try to send a PR, but would probably be immediately fixed by the developer.

Steps to Reproduce

  1. Install rtorrent-flood from FreeNAS GUI.
  2. Login flood
  3. update DHT checkbox in settings
  4. save settings
  5. refresh flood webpage
  6. confirm DHT state has not changed.
commented

I have the box checked, and my rtorrent.rc file has this option enabled: dht.mode.set = auto. I don't know if the checkbox inside Flood override this setting, but at least you can easily change it via rtorrent configuration file.