Debug level selector in Settings is broken
|Reported by:||php4fan||Owned by:|
|Component version:||3.51.0||Operating system type:||Linux|
|Operating system version:||openSUSE Tumbleweed|
Steps to reproduce:
- Go to Edit / Settings
- Go to Debug
- Change the value of "Debug Information in message log" to something other than "warning": e.g., "Debug"
- Save and exit Settings
- OPTIONALLY restart FileZilla (will reproduce either way)
- Go to Settings again and again to Debug
Expected: the selector for "Debug Information in message log" should show the current level. Saving without touching it should not change the setting
Observed: regardless of what the current level is (that is, if you followed the steps above, regardless of the level you configured at step 3), the selector shows "1. Warning". If you now save the settings without having touched the debug level setting, it will be actually changed to Warning.
This is broken in two ways: 1) it doesn't show the actual current level; 2) it causes you to unintentionally change a setting without having touched it (by only changing other unrelated settings and saving) if you don't notice.