View Issue Details

IDProjectCategoryView StatusLast Update
5943Composrhealth_checkpublic2024-11-12 19:14
ReporterAdam Edington Assigned ToPDStig  
PrioritynormalSeveritytrivial 
Status resolvedResolutionfixed 
Product Version11.beta4 
Summary5943: Deleting the Health Check addon leaves a task in Admin CP
DescriptionThe custom task "Run/Schedule Health Checks" is not deleted when the addon is.
TagsRoadmap: v11
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

PDStig

2024-11-12 17:46

administrator   ~9566

This is registered as a custom task rather than hook-based per addon. That should not be the case. I'm going to modify it to be addon hook based.

admin

2024-11-12 19:12

administrator   ~9567

Automated response: Deleting the Health Check addon leaves a task in Admin CP

The health check task was being installed as a custom task rather than being a hook on the main_staff_checklist block. Therefore, the task would remain even after uninstalling health check.

This hotfix fixes that. Note that if the custom task exists, it will still need to be manually deleted from the checklist. But this adds a health check specific task linked to the addon.

admin

2024-11-12 19:12

administrator   ~9568

Fixed in Git commit 71f3cb179b (https://gitlab.com/composr-foundation/composr/commit/71f3cb179b - link will become active once code pushed to GitLab)

admin

2024-11-12 19:12

administrator   ~9569

A hotfix (a TAR of files to upload) has been uploaded to this issue. Only apply this hotfix if you absolutely need it and cannot wait until the next release of Composr (releases are more reliable and strictly tested). As of Composr version 11, the recommended way to apply a hotfix is by following the same steps as an upgrade (https://baseurl/upgrader.php, use the hotfix on the step “Transfer across new/updated files”). The upgrader will automatically skip files belonging to addons you do not have installed or that are newer on disk than in the hotfix. Otherwise, you can manually extract and replace these files (do not replace if your on-disk file is newer than the one in the hotfix). Always take backups of your site or at least files you are replacing before applying a hotfix. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

PDStig

2024-11-12 19:14

administrator   ~9570

Apparently the actual hook did not get pushed into the hotfix. You may need to check for the commit after the one linked above.

Issue History

Date Modified Username Field Change
2024-09-15 02:10 Adam Edington New Issue
2024-11-12 17:45 PDStig Tag Attached: Roadmap: v11
2024-11-12 17:46 PDStig Assigned To => user4172
2024-11-12 17:46 PDStig Status Not Assigned => Assigned
2024-11-12 17:46 PDStig Note Added: 0009566
2024-11-12 19:14 PDStig Note Added: 0009570