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