-
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
Decode file name on upload value lists and fix bug with removing value list #111838
Decode file name on upload value lists and fix bug with removing value list #111838
Conversation
Pinging @elastic/security-solution (Team: SecuritySolution) |
@elasticmachine merge upstream |
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.
Approving as-is since the code's , but let's please add a translation for the list item descriptions before we merge this.
x-pack/plugins/lists/server/services/items/write_lines_to_bulk_list_items.test.ts
Outdated
Show resolved
Hide resolved
if (listId == null) { | ||
list = await createListIfItDoesNotExist({ | ||
description: `File uploaded from file system of ${fileNameEmitted}`, | ||
description: `File uploaded from file system of ${fileName}`, |
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.
While we're here we should probably add i18n for this string; see something like this for examples of using values with i18n.
@elasticmachine merge upstream |
…_list_items.test.ts Co-authored-by: Ryland Herrick <[email protected]>
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
…e list (elastic#111838) * Decode fileName when creating a list * Return wait_for for delete list item * Return back import * Update x-pack/plugins/lists/server/services/items/write_lines_to_bulk_list_items.test.ts Co-authored-by: Ryland Herrick <[email protected]> * Use i18n for message Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Ryland Herrick <[email protected]>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…e list (#111838) (#112056) * Decode fileName when creating a list * Return wait_for for delete list item * Return back import * Update x-pack/plugins/lists/server/services/items/write_lines_to_bulk_list_items.test.ts Co-authored-by: Ryland Herrick <[email protected]> * Use i18n for message Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Ryland Herrick <[email protected]> Co-authored-by: Khristinin Nikita <[email protected]> Co-authored-by: Ryland Herrick <[email protected]>
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
Summary
Linked to #93346
wait_for
for deleting the list, fixing the bug, when the deleted list doesn't disappear from the table.The bug video
https://user-images.githubusercontent.com/7609147/132836105-5f904c56-7304-4748-86bf-9ffda2eaae34.movInitially, we added
wait_for
on this PR.But then on this migration, it was changed to
false
.It should be safe now to return it back to
wait_for
.Checklist
Delete any items that are not applicable to this PR.
For maintainers