View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
6172 | Composr | core | public | 2025-03-14 16:58 | 2025-03-14 22:31 |
Reporter | PDStig | Assigned To | PDStig | ||
Priority | normal | Severity | minor | ||
Status | resolved | Resolution | fixed | ||
Product Version | 11.beta7 | ||||
Summary | 6172: Member profile references warnings page without checking if cns_warnings is installed | ||||
Description | The 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. | ||||
Tags | Roadmap: v11 | ||||
Attach Tags | |||||
Attached Files | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
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. |
|
Fixed in Git commit d732f05d9e (https://gitlab.com/composr-foundation/composr/commit/d732f05d9e - link will become active once code pushed to GitLab) |
|
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/). |