Skip to content

Decorator configuration page shows error #22977

@kroepke

Description

@kroepke
Member

Expected Behavior

The system configuration page for decorators should not produce an error.

Current Behavior

On the master test system, the following is shown after a long loading time:

Image

The API response is

[{"id":"651e7d2bc6795877c0c1908b","type":"org.graylog.plugins.pipelineprocessor.PipelineProcessorMessageDecorator","config":{"pipeline":"6514431c2ac82472d6515b2c"},"stream":"000000000000000000000001","order":1}]

Possible Solution

Steps to Reproduce (for bugs)

  1. Go to smd.dev
  2. I used a reader user, but that doesn't seem to be necessary
  3. Navigate to https://xxx/system/configurations/Decorators
  4. Wait and observe the error

Context

Your Environment

  • Graylog Version: Graylog 7.0.0-SNAPSHOT+ee01d46
  • Java Version:
  • OpenSearch Version:
  • MongoDB Version:
  • Operating System:
  • Browser version:

Activity

dennisoelkers

dennisoelkers commented on Jun 24, 2025

@dennisoelkers
Member

Maybe related to #22877? @zeeklop, can you check?

zeeklop

zeeklop commented on Jun 25, 2025

@zeeklop
Contributor

@dennisoelkers looks like the issue comes from a query function modified on this PR #22668

Looks like spreading the actions isn't enough for React Query v5

Image

We have to specify the queryFn key to assign the function that will be used to query the data.

I was able to reproduce the error locally where I got more detailed information about the error.

zeeklop

zeeklop commented on Jun 25, 2025

@zeeklop
Contributor

PR 22995 with fix for decorators

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @dennisoelkers@kroepke@zeeklop

      Issue actions

        Decorator configuration page shows error · Issue #22977 · Graylog2/graylog2-server