#6172 - Member profile references warnings page without checking if cns_warnings is installed
| Identifier | #6172 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | Member profile references warnings page without checking if cns_warnings is installed |
| Status | Completed |
| Tags |
Roadmap: v11 (custom) |
| Handling member | PDStig |
| Version | 11 beta7 |
| Addon | core |
| 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. |
| Steps to reproduce | |
| Funded? | No |
| Commits |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
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.