When we try to restore a deleted git repository, we get a fatal error:
2023/03/29 09:23:50 \[error\] 7096#7096: \*5616 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: call\_user\_func\_array(): Argument #1 ($callback) must be a valid callback, class GitActions does not have a method "restoreRepository" in /usr/share/tuleap/plugins/git/include/mvc/PluginActions.class.php:67
Stack trace:
#0 /usr/share/tuleap/plugins/git/include/mvc/PluginController.class.php(228): PluginActions->process()
#1 /usr/share/tuleap/plugins/git/include/mvc/PluginController.class.php(254): PluginController->executeActions()
#2 /usr/share/tuleap/plugins/git/include/Git/GitGodObjectWrapper.php(41): PluginController->process()
#3 /usr/share/tuleap/plugins/git/include/Git/RouterLink.php(53): Tuleap\\Git\\GitGodObjectWrapper->process()
#4 /usr/share/tuleap/plugins/git/include/Git/DefaultSettings/DefaultSettingsRouter.php(45): Tuleap\\Git\\RouterLink->process()
#5 /usr/share/tuleap/plugins/git/include/Git/RouterLink.php(53): Tuleap\\Git\\DefaultSettings\\DefaultSettingsRouter->process()
Campaign Tuleap 14.7 - Non regression
Test summary Restore a deleted git repository