This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-4.18.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit 5f368921ef24264d7f2bd2e2a473ee385272e3af Author: Ted Won <[email protected]> AuthorDate: Wed May 13 15:27:56 2026 +1000 Fix copy-paste error in camel-dhis2 Dhis2ResourceTables (#23173) Dhis2ResourceTables.analytics() checked skipEvents != null instead of skipAggregate != null when setting the skipAggregate parameter, causing it to be sent based on the wrong variable. --- .../java/org/apache/camel/component/dhis2/api/Dhis2ResourceTables.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-dhis2/camel-dhis2-api/src/main/java/org/apache/camel/component/dhis2/api/Dhis2ResourceTables.java b/components/camel-dhis2/camel-dhis2-api/src/main/java/org/apache/camel/component/dhis2/api/Dhis2ResourceTables.java index 72632d6f77da..8dac1e70eda4 100644 --- a/components/camel-dhis2/camel-dhis2-api/src/main/java/org/apache/camel/component/dhis2/api/Dhis2ResourceTables.java +++ b/components/camel-dhis2/camel-dhis2-api/src/main/java/org/apache/camel/component/dhis2/api/Dhis2ResourceTables.java @@ -35,7 +35,7 @@ public class Dhis2ResourceTables { if (skipEvents != null) { postOperation.withParameter("skipEvents", String.valueOf(skipEvents)); } - if (skipEvents != null) { + if (skipAggregate != null) { postOperation.withParameter("skipAggregate", String.valueOf(skipAggregate)); } if (lastYears != null) {
