Describe the bug
Before version 3.0.1.507, you were able to leave the Category field in the qBittorrent settings empty. Now there you get an error saying
"Can not contain '', '//', or start/end with '/'"
Screenshots

Logs
Link to debug or trace log files.
Corresponding validation error message in logs

System Information
- Sonarr Version: 3.0.1.508
- Operating System: Debian Docker Container (using linuxserver/sonarr:preview container)
- mono (macOS/Linux) Version: 5.20.1.19
UI Bugs:
N/A
Additional context
I'm not that familiar with Sonarr's codebase but from a glance at the commit that added support for post-import labels, it seems that this issue is related to this check.
|
RuleFor(c => c.TvCategory).Matches("^[^/\\\\](((?!//)[^\\\\])*[^/\\\\])?$").WithMessage("Can not contain '\\', '//', or start/end with '/'"); |
Describe the bug
Before version 3.0.1.507, you were able to leave the Category field in the qBittorrent settings empty. Now there you get an error saying
"Can not contain '', '//', or start/end with '/'"
Screenshots

Logs
Link to debug or trace log files.
Corresponding validation error message in logs
System Information
UI Bugs:
N/A
Additional context
I'm not that familiar with Sonarr's codebase but from a glance at the commit that added support for post-import labels, it seems that this issue is related to this check.
Sonarr/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrentSettings.cs
Line 15 in 39ea2dd