[
https://issues.apache.org/jira/browse/METRON-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Allen updated METRON-1944:
-------------------------------
Fix Version/s: 0.7.1
> Unable to Delete a Comment in Alerts UI
> ---------------------------------------
>
> Key: METRON-1944
> URL: https://issues.apache.org/jira/browse/METRON-1944
> Project: Metron
> Issue Type: Bug
> Reporter: Tamas Fodor
> Assignee: Tamas Fodor
> Priority: Major
> Fix For: 0.7.1
>
> Time Spent: 3h
> Remaining Estimate: 0h
>
> I am unable to delete a comment in the Alerts UI. While it appears that the
> comment is deleted, it is only deleted locally, but not server side. An
> exception is thrown in the browser console.
> {code:java}
> ERROR TypeError: Cannot read property 'alertComment' of undefined at
> SafeSubscriber._next (alert-details.component.ts:258) at
> SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub
> (Subscriber.js:207) at
> SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next
> (Subscriber.js:145) at
> Subscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next
> (Subscriber.js:80) at
> Subscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next
> (Subscriber.js:55) at
> Subject.push../node_modules/rxjs/_esm5/internal/Subject.js.Subject.next
> (Subject.js:47) at
> DialogService.push../src/app/service/dialog.service.ts.DialogService.approve
> (dialog.service.ts:49) at
> MetronDialogComponent.push../src/app/shared/metron-dialog/metron-dialog.component.ts.MetronDialogComponent.confirm
> (metron-dialog.component.ts:54) at Object.handleEvent (login-guard.ts:40) at
> handleEvent (core.js:10258)
> {code}
> Steps To Replicate
> # Find an Alert
> # Comment on the alert.
> # Delete the comment.
> # Close the side panel.
> # Search for the alert again.
> # Click on the alert and the comment remains.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)