Not able to replicate this bug. When pressing the delete button on the card for a report, the report is removed from the UI and from the database.
However while the report entries were removed from the database in the tables reports, report_sentences and report_sentence_hits, the corresponding sentences were not removed from the true_positives and false_negatives tables.
Updated the delete_report method in rest_svc.py to remove the corresponding sentences from the true_positive and false_negatives tables.
Not able to replicate this bug. When pressing the delete button on the card for a report, the report is removed from the UI and from the database.
However while the report entries were removed from the database in the tables reports, report_sentences and report_sentence_hits, the corresponding sentences were not removed from the true_positives and false_negatives tables.
Updated the delete_report method in rest_svc.py to remove the corresponding sentences from the true_positive and false_negatives tables.