-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Discover] Fix context view for document ids containing special characters #122737
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, with a functionals its then 👍
await PageObjects.common.navigateToApp('settings'); | ||
await es.transport.request({ | ||
path: '/includes-plus-symbol-doc-id/_doc/1+1=2', | ||
method: 'PUT', | ||
body: { | ||
username: 'matt', | ||
'@timestamp': '2015-09-21T09:30:23', | ||
}, | ||
}); | ||
await PageObjects.settings.createIndexPattern('includes-plus-symbol-doc-id'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't have this way to create testdata on the radar, TIL. only disadvantage is, that it might be slower, more UI interaction needed to create the required testing data but, fine with that.
only nit: username should be Dmitry
, the matt
you are mentioning here just added comments here, else he was lazy as usual 😄.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thx for the quick fix and the functional. 2 request, the title could be more descriptive like
[Discover] Fix context view for document ids containing special characters
And the description could and the info how to test it, even if it's a copy of the issue, it makes our testing team life easier, you know one click less, all info on one page.
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @dmitriynj |
💔 All backports failed
How to fixRe-run the backport manually:
Questions ?Please refer to the Backport tool documentation |
…cters (elastic#122737) * [Discover] fix encoded param for context * [Discover] add functional test * [Discover] add test file * [Discover] change field name Co-authored-by: Kibana Machine <[email protected]> (cherry picked from commit 6956d9c) # Conflicts: # src/plugins/discover/public/application/apps/context/context_app_route.tsx
…cters (elastic#122737) * [Discover] fix encoded param for context * [Discover] add functional test * [Discover] add test file * [Discover] change field name Co-authored-by: Kibana Machine <[email protected]> (cherry picked from commit 6956d9c) # Conflicts: # src/plugins/discover/public/application/apps/context/context_app_route.tsx
…cters (#122737) (#123035) * [Discover] fix encoded param for context * [Discover] add functional test * [Discover] add test file * [Discover] change field name Co-authored-by: Kibana Machine <[email protected]> (cherry picked from commit 6956d9c) # Conflicts: # src/plugins/discover/public/application/apps/context/context_app_route.tsx
… characters (#122737) (#123034) * [Discover] Fix context view for document ids containing special characters (#122737) * [Discover] fix encoded param for context * [Discover] add functional test * [Discover] add test file * [Discover] change field name Co-authored-by: Kibana Machine <[email protected]> (cherry picked from commit 6956d9c) # Conflicts: # src/plugins/discover/public/application/apps/context/context_app_route.tsx * [Discover] fix linting
Summary
Fixes #122638
This PR adds decoding for encoded document id param.
Testing notes