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
You can load a JobDefinition by the contents of a config field. It this field is not unique over all JobDefinition types, you can end up with the wrong JobDefinition. I think the query should also take the JobDefinition type into account.
janheise
changed the title
JobDefinitionService.getByConfigField() is not working correctly if two Configs have the same field.
JobDefinitionService.getByConfigField() is not working correctly if two dfferent config types have the same field.
May 8, 2024
Expected Behavior
You can load a JobDefinition by the contents of a config field. It this field is not unique over all JobDefinition types, you can end up with the wrong JobDefinition. I think the query should also take the JobDefinition type into account.
see
graylog2-server/graylog2-server/src/main/java/org/graylog/scheduler/DBJobDefinitionService.java
Line 61 in b241dd0
Current Behavior
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: