View Issue Details

IDProjectCategoryView StatusLast Update
6172Composrcorepublic2025-03-14 22:31
ReporterPDStig Assigned ToPDStig  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Product Version11.beta7 
Summary6172: Member profile references warnings page without checking if cns_warnings is installed
DescriptionThe member profile page references the warnings module without first checking if cns_warnings is installed.

We should expand the addon_guards test to include checks on build_url.
TagsRoadmap: v11
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

admin

2025-03-14 22:31

administrator   ~9862

Automated response: Member profile references warnings page without checking if cns_warnings is installed

Actually there were two issues... first, addon_installed was not the first thing being checked, and secondly, has_actual_page_access was not being tolerant of missing pages (which it should, as all other permissions / privilege APIs are).

This hotfix fixes both.

admin

2025-03-14 22:31

administrator   ~9863

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

admin

2025-03-14 22:31

administrator   ~9864

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/).

Issue History

Date Modified Username Field Change
2025-03-14 16:58 PDStig New Issue
2025-03-14 16:58 PDStig Status Not Assigned => Assigned
2025-03-14 16:58 PDStig Assigned To => user4172
2025-03-14 16:58 PDStig Tag Attached: Roadmap: v11