Release: dev -> main (package install redeclare fix + backlog) #302
Reference in New Issue
Block a user
Delete Branch "release/dev-to-main-r3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cuts a stable including the critical package-install redeclare guard (#301) that was blocking suite.dev updates, plus the backlog fixes merged since 02.65.00. Excludes untested component Type-Name (#299).
https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i
Package updates could fatal with a compile-time "Cannot redeclare class Pkg_MokoSuiteBackupInstallerScript" when Joomla extracts/includes the package script.php twice in one request (two tmp/install_* dirs). Because the class is a top-level unconditional declaration it is early-bound at compile time, so a runtime return can't prevent the redeclare — wrapping it in `if (!class_exists(...)) { ... }` makes it a conditional (runtime) declaration, so the second include is a no-op instead of a fatal. Claude-Session: https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i