View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
6021 | Composr | core | public | 2024-10-26 02:22 | 2024-11-19 21:26 |
Reporter | PDStig | Assigned To | PDStig | ||
Priority | normal | Severity | trivial | ||
Status | resolved | Resolution | fixed | ||
Product Version | 11.beta4 | ||||
Summary | 6021: Array to string conversion in sources/hooks/systems/sitemap/page.php on line 101 when editing a Wiki page | ||||
Description | See private comment (made private as it contains sensitive information from a person's server) | ||||
Additional Information | Telemetry 2,911 | ||||
Tags | Roadmap: v11 | ||||
Attach Tags | |||||
Attached Files | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Automated response: Sitemap node only following redirects one level deep The sitemap nodes were only following redirects one-level deep. If a redirect of a redirect were in place, the node would still receive redirect details, and the subsequent end() call would later result in an array to string error because $path would be an array. This fix makes sitemap look up to 10 levels deep with redirects, and bail out on error if it exceeds 10 levels. This fix has not been tested because I could not actually replicate this problem. |
|
Fixed in Git commit c80e8b82fb (https://gitlab.com/composr-foundation/composr/commit/c80e8b82fb - 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/). |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-10-26 02:22 | PDStig | New Issue | |
2024-10-26 02:22 | PDStig | Status | Not Assigned => Assigned |
2024-10-26 02:22 | PDStig | Assigned To | => user4172 |
2024-10-26 02:22 | PDStig | Tag Attached: Roadmap: v11 | |
2024-10-26 02:22 | PDStig | Additional Information Updated | |
2024-11-19 21:26 | PDStig | Note Edited: 0009613 |