Skip to content

[Logstash] Remove formatted message component in favor of i18n translate function#45658

Merged
justinkambic merged 3 commits intoelastic:masterfrom
justinkambic:logstash_pipeline-search-error
Sep 23, 2019
Merged

[Logstash] Remove formatted message component in favor of i18n translate function#45658
justinkambic merged 3 commits intoelastic:masterfrom
justinkambic:logstash_pipeline-search-error

Conversation

@justinkambic
Copy link
Contributor

Summary

The Logstash pipelines page is generating console warnings because JSX is injected to EuiInMemoryTable's search prop where only a string is valid. The JSX was added to provide internationalization of the page's controls, which is working, but has caused other problems in addition to the dirty console.

Testing this PR

  1. Run Elasticsearch with security enabled, and start a trial
  2. Navigate to Management/Logstash Pipelines
  3. Check the console log, make sure that there are no errors/warnings related to the page

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@elasticmachine
Copy link
Contributor

💔 Build Failed

@justinkambic justinkambic changed the title [Uptime] Remove formatted message component in favor for i18n translate function [Logstash] Remove formatted message component in favor for i18n translate function Sep 19, 2019
@justinkambic justinkambic force-pushed the logstash_pipeline-search-error branch from 0ecfc04 to 02d92af Compare September 19, 2019 21:27
@justinkambic justinkambic marked this pull request as ready for review September 19, 2019 21:28
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@justinkambic justinkambic changed the title [Logstash] Remove formatted message component in favor for i18n translate function [Logstash] Remove formatted message component in favor of i18n translate function Sep 20, 2019
Copy link
Contributor

@ycombinator ycombinator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Saw errors on master. Confirmed that those errors are gone with this PR. Thanks @justinkambic!

@justinkambic
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@justinkambic justinkambic merged commit 24e9bc3 into elastic:master Sep 23, 2019
justinkambic added a commit to justinkambic/kibana that referenced this pull request Sep 23, 2019
…ate function (elastic#45658)

* Remove formatted message component in favor for i18n translate function.

* Update broken test snapshot.
justinkambic added a commit that referenced this pull request Sep 24, 2019
…ate function (#45658) (#46392)

* Remove formatted message component in favor for i18n translate function.

* Update broken test snapshot.
@justinkambic
Copy link
Contributor Author

Backported to:
7.x/7.5.0 65217c0
#46392

@justinkambic justinkambic deleted the logstash_pipeline-search-error branch September 24, 2019 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants