ILIAS icon indicating copy to clipboard operation
ILIAS copied to clipboard

Fix #37778: Fix for SOAP Plugin Reinitialization Issue in ILIAS 8

Open jeph864 opened this issue 2 years ago • 2 comments

This PR addresses a bug identified in ILIAS 8, specifically concerning the malfunctioning of SOAP plugins. The issue originated from a series of interconnected bugs:

  • https://mantis.ilias.de/view.php?id=37778
  • https://mantis.ilias.de/view.php?id=37781
  • https://mantis.ilias.de/view.php?id=37780

They can all be traced back to the reinitialization performed by the SOAP administration. During the initial Initialisation, certain superglobals are replaced within the system. However, when reinitialization occurs, ILIAS attempts to replace these superglobals again, leading to a cascade of errors. This PR solves this issue but only considers SOAP contexts.

jeph864 avatar Nov 24 '23 14:11 jeph864

@pascalseeland is there any update on this PR?

jeph864 avatar Dec 12 '23 09:12 jeph864

I would prefer to merge #7116 which, together with disabling the super global replacement should fix this issue instead of making the replacement code depend on the context. We should probably include some documentation in #7116 PR that if someone needs SOAP one has to disable it. Or we could add the documentation to the UI where one enables SOAP.

pascalseeland avatar Mar 03 '24 18:03 pascalseeland