View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
4858 | Composr | core | public | 2022-06-26 03:44 | 2022-06-27 21:38 |
Reporter | Adam Edington | Assigned To | Chris Graham | ||
Priority | normal | Severity | minor | ||
Status | resolved | Resolution | fixed | ||
Product Version | 10.0.42 | ||||
Fixed in Version | 10.0.43 | ||||
Summary | 4858: Resource FS error upon changing title of initial Wiki+ page | ||||
Description | PHP WARNING [2] Trying to access array offset on value of type null in sources\resource_fs.php on line 206 (version: 10.0.42, PHP version: 8.0.20 | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Automated response: Code is not defensive about disabled content hooks If a content hook has been modified to be disabled, or somehow is naturally disabled yet other code is using it when it should not be, Composr should be a lot more fault tolerant. I'm not going to post a hotfix as I changed so many files here. (I could not reproduce the original bug report without editing the wiki_page content hook's code manually. But I think this fix would solve the issue.) |
|
Fixed in git commit b5368f402b (https://gitlab.com/composr-foundation/composr/commit/b5368f402b - link will become active once code pushed to GitLab) |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-06-26 03:44 | Adam Edington | New Issue |