From 83936edf731176d58d67ad12ee4627e7e0609e78 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 16 Sep 2025 15:25:34 +0200 Subject: [PATCH] fix(xwiki): use proper InstallRequest XML format for extension installation - Replace custom with class='org.xwiki.extension.job.InstallRequest' - Use loop over extensions_to_install to build list - Move namespace into wiki:xwiki - Remove unused / from root - Ensure installDependencies, interactive, verbose inside request - Fixes issue where server echoed instead of actual extensions --- .../templates/installjobrequest.xml.j2 | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/roles/web-app-xwiki/templates/installjobrequest.xml.j2 b/roles/web-app-xwiki/templates/installjobrequest.xml.j2 index 498fdb82..19eaabe6 100644 --- a/roles/web-app-xwiki/templates/installjobrequest.xml.j2 +++ b/roles/web-app-xwiki/templates/installjobrequest.xml.j2 @@ -1,27 +1,27 @@ + - install-extensions - install - - wiki:xwiki + + + {% for ext in extensions_to_install %} + + {{ ext.id }} + {{ ext.version }} + + {% endfor %} + + + + wiki:xwiki + + true false true - true - - {% if XWIKI_LDAP_ENABLED | bool %} - - {{ XWIKI_EXT_LDAP_ID }} - {{ XWIKI_EXT_LDAP_VERSION }} - wiki:xwiki - - {% endif %} - {% if XWIKI_OIDC_ENABLED | bool %} - - {{ XWIKI_EXT_OIDC_ID }} - {{ XWIKI_EXT_OIDC_VERSION }} - wiki:xwiki - - {% endif %} -