View Issue Details

IDProjectCategoryView StatusLast Update
5414Composrcorepublic2023-12-04 22:26
ReporterPDStig Assigned ToPDStig  
PrioritynormalSeveritytrivial 
Status resolvedResolutionfixed 
Product Version10.0.43 
Fixed in Version10.0.44 
Summary5414: Possible wrong hook names for upon_page_load
DescriptionI found on a client website using Composr v10 that site.php was using 'upon_page_load' as the object_factory prefix. This should be 'Hook_upon_page_load_'. Check to see if the bug exists in v10 and v11. If so, fix it.
TagsNo tags attached.
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

PDStig

2023-10-12 23:59

administrator   ~8002

Bug confirmed in Composr v10. Does not exist in v11.

admin

2023-12-02 01:17

administrator   ~8079

Automated response: Object factory using wrong class for upon_page_load

Object factory defined the wrong class prefix for upon_page_load hooks

admin

2023-12-02 01:17

administrator   ~8080

Fixed in git commit 20b3d198db (https://gitlab.com/composr-foundation/composr/commit/20b3d198db - link will become active once code pushed to GitLab)

A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

Issue History

Date Modified Username Field Change
2023-10-12 23:56 PDStig New Issue
2023-10-12 23:56 PDStig Status Not Assigned => Assigned
2023-10-12 23:56 PDStig Assigned To => user4172
2023-10-12 23:56 PDStig Category General / Uncategorised => core
2023-10-12 23:59 PDStig Note Added: 0008002