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
- Install rtorrent-flood from FreeNAS GUI.
- Login flood
- update DHT checkbox in settings
- save settings
- refresh flood webpage
- confirm DHT state has not changed.
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.