[GH-ISSUE #2069] Deleted Automation policy check items don't clean up checkresult model #3229

Open
opened 2026-03-14 06:55:01 +03:00 by kerem · 1 comment
Owner

Originally created by @silversword411 on GitHub (Nov 14, 2024).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/2069

Server Info (please complete the following information):

  • RMM Version (as shown in top left of web UI): v0.19.4

Describe the bug
When you delete a check in automation manager it doesn't cleanup all the data in the checkresult model

To Reproduce
Steps to reproduce the behavior:

  1. Create automation > check > script item. Get some history.
  2. Delete the check from automation manager.
  3. recreate the item in automation manager
  4. See many checks of the same item

Expected behavior
Deleted automation manager check should clean up results

Screenshots

2024-11-14_132715 - trmm automation policy results

Here's a report with the extra checks listed

All Fields - Task Resultv9 - showchecknames test-export.json

Originally created by @silversword411 on GitHub (Nov 14, 2024). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/2069 **Server Info (please complete the following information):** - RMM Version (as shown in top left of web UI): v0.19.4 **Describe the bug** When you delete a check in automation manager it doesn't cleanup all the data in the checkresult model **To Reproduce** Steps to reproduce the behavior: 1. Create automation > check > script item. Get some history. 2. Delete the check from automation manager. 3. recreate the item in automation manager 4. See many checks of the same item **Expected behavior** Deleted automation manager check should clean up results **Screenshots** <img width="662" alt="2024-11-14_132715 - trmm automation policy results" src="https://github.com/user-attachments/assets/2fa6e89b-9b09-4c13-a692-9f05c7dd984b"> Here's a report with the extra checks listed [All Fields - Task Resultv9 - showchecknames test-export.json](https://github.com/user-attachments/files/17756214/All.Fields.-.Task.Resultv9.-.showchecknames.test-export.json)
Author
Owner

@P6g9YHK6 commented on GitHub (Nov 15, 2024):

probably the same issue as
https://github.com/amidaware/tacticalrmm/issues/1928

<!-- gh-comment-id:2478564600 --> @P6g9YHK6 commented on GitHub (Nov 15, 2024): probably the same issue as https://github.com/amidaware/tacticalrmm/issues/1928
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#3229
No description provided.