Skip to content

Unpack and return value from Optional in Percentiles Handler (7.1) - #27418

Merged
janheise merged 2 commits into
7.1from
backport-7.1/fix/percentile-should-not-be-wrapped-in-optional
Sep 18, 2026
Merged

janheise merged 2 commits into
7.1from
backport-7.1/fix/percentile-should-not-be-wrapped-in-optional

Conversation

@graylog-internal-actions-access

Copy link
Copy Markdown

Note: This is a backport of #27413 to 7.1.

Description

Different from the other handlers in the package, the Percentiles Handler returned an Optional which creates a bug that became apparent with an event definition at a customer's setup (see linked issue).

fixes https://github.com/Graylog2/graylog-plugin-enterprise/issues/15679

Motivation and Context

How Has This Been Tested?

manually by re-creating the event definition

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have requested a documentation update.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

* add missing .orElse(null) as in the other handlers

* add changelog

(cherry picked from commit d2f7e23)
@janheise
janheise merged commit 9766b76 into 7.1 Sep 18, 2026
23 checks passed
@janheise
janheise deleted the backport-7.1/fix/percentile-should-not-be-wrapped-in-optional branch September 18, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants