Home
last modified time | relevance | path

Searched hist:"6 a8e48eda246f872402bf5b85763f276cd4c319d" (Results 1 – 2 of 2) sorted by relevance

/dokuwiki/lib/plugins/extension/_test/
H A DLocalTest.php6a8e48eda246f872402bf5b85763f276cd4c319d Tue Jul 07 19:31:30 UTC 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 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.

/dokuwiki/lib/plugins/extension/
H A DLocal.php6a8e48eda246f872402bf5b85763f276cd4c319d Tue Jul 07 19:31:30 UTC 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 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.