Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] The Workflow State mapping doesn't include the user field #700

Closed
dbwiddis opened this issue May 2, 2024 · 0 comments · Fixed by #705
Closed

[BUG] The Workflow State mapping doesn't include the user field #700

dbwiddis opened this issue May 2, 2024 · 0 comments · Fixed by #705
Labels
bug Something isn't working v2.15.0

Comments

@dbwiddis
Copy link
Member

dbwiddis commented May 2, 2024

What is the bug?

The Workflow State index mapping does not include a user field, just user_outputs.

How can one reproduce the bug?

Attempt to query the existence of the "user" field using any of the clients, e.g., with the Go client:

userExistsQuery := NewNestedQuery("user", NewExistsQuery("user.name"))

Result:

Error 400 (Bad Request): all shards failed [type=search_phase_execution_exception]

What is the expected behavior?

Index mapping matches Java object XContent mapping.

Do you have any additional context?

This is not user-facing but is relevant to queries that an admin may make.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v2.15.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant