Fix #37778: Fix for SOAP Plugin Reinitialization Issue in ILIAS 8
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.
@pascalseeland is there any update on this PR?
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.