You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When implementing a rule with the filtering by overseerr user username the firstValue used for comparison is "null" instead of the actual username making the rule always fail
To Reproduce
Steps to reproduce the behavior:
Request movie on overseerr
Implement rule like so:
mediaType: MOVIES
rules:
- "0":
- firstValue: Overseerr.addUser
action: EQUALS
customValue:
type: text
value: <username>
Test rule in collection viewer
Observe that result is false
- plexId: <plexid>
result: false
sectionResults:
- id: 0
result: false
ruleResults:
- operator: OR
action: equals
firstValueName: Overseerr - Requested by user (Plex or local username)
firstValue:
- null
secondValueName: text
secondValue: <username>
result: false
Expected behavior
Rule should use actual username and provide correct filtering like so:
- plexId: <plexid>
result: true
sectionResults:
- id: 0
result: true
ruleResults:
- operator: OR
action: equals
firstValueName: Overseerr - Requested by user (Plex or local username)
firstValue:
- <username>
secondValueName: text
secondValue: <username>
result: true
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
TrueNAS Scale (image from truecharts, latest)
Version [2.0.2]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Is this the initial rule in the first section? If so, it seems the issue isn't directly linked to the rule itself but rather to an error during rule creation. The very first rule shouldn't contain an operator, and if it does, it will cause the rule to malfunction.
If this is indeed the scenario, I recommend exporting your rule, removing the operator from the first rule of the first section, and then re-importing the rule. This should resolve the issue.
Edit: i pushed a fix for the above scenario in #1070.
Describe the bug
When implementing a rule with the filtering by overseerr user username the firstValue used for comparison is "null" instead of the actual username making the rule always fail
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Rule should use actual username and provide correct filtering like so:
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: