Skip to content

Commit 4977533

Browse files
authored
Fix missing dependency on Content Pack creation for Searches with Parameters (#21563)
* fixes missing query parameters in content packs * add Nullable * add Nullable * adding changelog * adding dependency to lookup table * adding dependency to lookup table, removing obsolete imports * adding null check * changelog * adding the dependency to the lookup adapter for CP creation of a Search * add correct changelog
1 parent 93c5a9c commit 4977533

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

changelog/unreleased/pr-21563.toml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
type = "fixed"
2+
message = "Fix missing dependency for Data Adapter when creating Content Pack for Search with Parameters."
3+
4+
pulls = ["21563"]

graylog2-server/src/main/java/org/graylog/plugins/views/search/Search.java

+1
Original file line numberDiff line numberDiff line change
@@ -332,5 +332,6 @@ public SearchEntity toContentPackEntity(EntityDescriptorIds entityDescriptorIds)
332332
@Override
333333
public void resolveNativeEntity(EntityDescriptor entityDescriptor, MutableGraph<EntityDescriptor> mutableGraph) {
334334
queries().forEach(query -> query.resolveNativeEntity(entityDescriptor, mutableGraph));
335+
parameters().forEach(parameter -> parameter.resolveNativeEntity(entityDescriptor, mutableGraph));
335336
}
336337
}

0 commit comments

Comments
 (0)