Graylog2 / Graylog2/graylog2-server

ValuePath in value action handler shows String object as part of the path

Open
#15,128 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## Expected Behavior
Value path should show correct value
## Current Behavior
When the user has the same field as column Pivot and Row pivot one of the value path parts shows String instead of the real value.

## Steps to Reproduce (for bugs)
1. Create an aggregation widget with the same field in row and column pivots f.e. `resource`
Screenshot 2023-04-03 at 12 32 37

2. F.e. you can add some console logs on clicking the copy to clipboard action to show all parameters which receive handler
3. click on the action
Screenshot 2023-04-03 at 12 17 07

4. check the console
Screenshot 2023-04-03 at 12 16 52

5. Value path shows String as one of the value

## Context
I need the correct behavior of this property to finish [issue](https://github.com/Graylog2/graylog2-server/issues/14544)

## Your Environment

* Graylog Version:
* Java Version:
* Elasticsearch Version:
* MongoDB Version:
* Operating System:
* Browser version:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.