# Bug - deleting awareness programs leaves undeleted associated records

**URL:** https://discussions.eramba.org/t/bug-deleting-awareness-programs-leaves-undeleted-associated-records/4396
**Category:** Forum - Software
**Created:** [March 13, 2024, 9:09am UTC](https://discussions.eramba.org/t/bug-deleting-awareness-programs-leaves-undeleted-associated-records/4396 "2024-03-13T09:09:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kisero](https://discussions.eramba.org/user_avatar/discussions.eramba.org/kisero/32/2925_2.png) [@kisero](https://discussions.eramba.org/u/kisero)
#### Post date: [March 13, 2024, 9:09am UTC](https://discussions.eramba.org/t/bug-deleting-awareness-programs-leaves-undeleted-associated-records/4396/1 "2024-03-13T09:09:46Z")

</div>

On e3.23.1:

- create an awareness program
- start it so notifications are sent, users are added to the audience tab, missing trainings tab, etc
- once you see records on all tabs
- delete the awareness program
- you will see all records on all those tabs are still there, they should have been deleted (sent to trash)

note: this bug requires a migration to ensure we delete records for awareness programs that have been deleted already at customer instances.

github: [https://github.com/eramba/eramba/issues/4668](https://github.com/eramba/eramba/issues/4668)
