Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] The "is monitored" returns null when unmonitored #906

Open
RouNNdeL opened this issue Feb 12, 2024 · 0 comments
Open

[Bug] The "is monitored" returns null when unmonitored #906

RouNNdeL opened this issue Feb 12, 2024 · 0 comments

Comments

@RouNNdeL
Copy link

Describe the bug
The is monitored rule will return null instead of false when a movie is unmonitored in Radarr (I have not check Sonarr).

To Reproduce
Steps to reproduce the behavior:

  1. Have unmonitored movies in Radarr
  2. Create a rule using Radarr - is monitored equals false rule
  3. Run the rules
  4. The rule will fail to match unmonitored Movies
  5. Change the rule to Radarr - is monitored not equals true
  6. The rule will now correctly match the Movies

Expected behavior
The workaround with setting the rule to not equal true works but not obvious, so I assume this is a bug. Expected behavior would be to match the rule when the movie is unmonitored.

Screenshots

Current behaviour:

- operator: OR
  action: equals
  firstValueName: Radarr - is monitored
  firstValue: null
  secondValueName: boolean
  secondValue: 0
  result: false

Workaround:

- operator: OR
  action: not_equals
  firstValueName: Radarr - is monitored
  firstValue: null
  secondValueName: boolean
  secondValue: 1
  result: true

Expected behaviour:

- operator: OR
  action: equals
  firstValueName: Radarr - is monitored
  firstValue: 0
  secondValueName: boolean
  secondValue: 0
  result: true

Device (please complete the following information):

  • OS: Docker
  • Version: 2.0.2

Additional context

None.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant