View Issue Details

IDProjectCategoryView StatusLast Update
0004858Composrcorepublic2022-06-27 21:38
ReporterAdam EdingtonAssigned ToChris Graham 
SeverityMinor-bug 
Status resolvedResolutionfixed 
Product Version10.0.42 
Fixed in Version10.0.43 
Summary0004858: 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.
Time estimation (hours)
Sponsorship open

Activities

admin

2022-06-27 21:38

administrator   ~0007383

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   ~0007384

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