Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Lens][Expressions] Fixes react Error When Rendering Recoverabl…
…e Error (#196285) (#196714) # Backport This will backport the following commits from `main` to `8.x`: - [[Lens][Expressions] Fixes react Error When Rendering Recoverable Error (#196285)](#196285) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Marta Bondyra","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-17T14:22:01Z","message":"[Lens][Expressions] Fixes react Error When Rendering Recoverable Error (#196285)\n\n## Summary\r\n\r\n1. Fixes https://github.com/elastic/kibana/issues/159146\r\n2. Makes sure that the `data-render-error` disappears once the\r\nexpression renderer is recovered (ie. when user fixes the query) -\r\nbefore once the error appears, it stays there forever.\r\n\r\n\r\n<img width=\"651\" alt=\"Screenshot 2024-10-15 at 13 11 14\"\r\nsrc=\"https://github.com/user-attachments/assets/9fc3639a-723f-4ab2-9508-85caa4052ab9\">","sha":"8cfa396f463b10006f247f91c10c591ac19f6dc2","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Visualizations","Feature:Lens","v9.0.0","backport:prev-minor","v8.17.0"],"title":"[Lens][Expressions] Fixes react Error When Rendering Recoverable Error","number":196285,"url":"https://github.com/elastic/kibana/pull/196285","mergeCommit":{"message":"[Lens][Expressions] Fixes react Error When Rendering Recoverable Error (#196285)\n\n## Summary\r\n\r\n1. Fixes https://github.com/elastic/kibana/issues/159146\r\n2. Makes sure that the `data-render-error` disappears once the\r\nexpression renderer is recovered (ie. when user fixes the query) -\r\nbefore once the error appears, it stays there forever.\r\n\r\n\r\n<img width=\"651\" alt=\"Screenshot 2024-10-15 at 13 11 14\"\r\nsrc=\"https://github.com/user-attachments/assets/9fc3639a-723f-4ab2-9508-85caa4052ab9\">","sha":"8cfa396f463b10006f247f91c10c591ac19f6dc2"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196285","number":196285,"mergeCommit":{"message":"[Lens][Expressions] Fixes react Error When Rendering Recoverable Error (#196285)\n\n## Summary\r\n\r\n1. Fixes https://github.com/elastic/kibana/issues/159146\r\n2. Makes sure that the `data-render-error` disappears once the\r\nexpression renderer is recovered (ie. when user fixes the query) -\r\nbefore once the error appears, it stays there forever.\r\n\r\n\r\n<img width=\"651\" alt=\"Screenshot 2024-10-15 at 13 11 14\"\r\nsrc=\"https://github.com/user-attachments/assets/9fc3639a-723f-4ab2-9508-85caa4052ab9\">","sha":"8cfa396f463b10006f247f91c10c591ac19f6dc2"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Marta Bondyra <[email protected]>
- Loading branch information