View Issue Details

IDProjectCategoryView StatusLast Update
4858Composrcorepublic2022-06-27 21:38
ReporterAdam Edington Assigned ToChris Graham  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Product Version10.0.42 
Fixed in Version10.0.43 
Summary4858: Resource FS error upon changing title of initial Wiki+ page
DescriptionPHP 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
TagsNo tags attached.
Attach Tags
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

admin

2022-06-27 21:38

administrator   ~7383

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

admin

2022-06-27 21:38

administrator   ~7384

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

Issue History

Date Modified Username Field Change
2022-06-26 03:44 Adam Edington New Issue