History log of /dokuwiki/lib/plugins/extension/_test/LocalTest.php (Results 1 – 2 of 2)
Revision Date Author Comments
# 6a8e48ed 07-Jul-2026 Andreas Gohr <gohr@cosmocode.de>

fix(extension): skip invalid directories when listing extensions

A leftover directory whose name is not a valid extension base (e.g.
"myplugin (copy)") made Extension::setBase() throw, which propaga

fix(extension): skip invalid directories when listing extensions

A leftover directory whose name is not a valid extension base (e.g.
"myplugin (copy)") made Extension::setBase() throw, which propagated
out of the unguarded getPlugins()/getTemplates() calls and fataled the
whole Extension Manager page and the extension list CLI.

Catch the exception per-directory in readExtensionsFromDirectory() so a
single stray directory is skipped and logged instead of breaking every
caller. The throw is kept for the install path.

show more ...


# 8fe483c9 22-Nov-2024 Andreas Gohr <andi@splitbrain.org>

Extension Manager: updated tests