gchq / stroom

Stroom is a highly scalable data storage, processing and analysis platform.
https://gchq.github.io/stroom-docs/
Apache License 2.0
424 stars 58 forks source link

Incorrect expression field selected on dropdown #4105

Closed p-kimberley closed 4 months ago

p-kimberley commented 4 months ago

Version: 7.3

With a dashboard expression editor, say there are two fields:

Steps to reproduce

  1. Create an expression term is created against the Value.Name field.
  2. Click on Save or another expression term (causing the Value.Name one to lose focus.
  3. Click on the Value.Name expression term to edit it.
  4. The chosen field changes to Source.Value.Name, requiring the user to have to select the Value.Name field again.

It appears the UI is picking the first item containing the referenced field name. This is incorrect - it should be doing an exact match comparison.