ForEachChildElementPipe with IbisLocalSender "returnedSessionKeys" results in empty sessionKey in parent adapter

Current Behavior

A ForEachChildElementPipe with IbisLocalSender and "returnedSessionKeys" configured to return the Error sessionKey, results in an empty Error sessionKey in the parent adapter, while the subadapter has a value for the Error sessionKey.

Expected Behavior

SessionKeys from subadapters listed in "returnedSessionKeys" in a ForEachChildElementPipe should be inherited in the parent adapter.

This one might be a bit interesting when the ForEachChildElementPipe is run in parallel as multiple threads may end up with a value for a certain sessionKey. Perhaps returned sessionKeys should be treated the same as the output of the ForEachChildElementPipe, where the result is wrapped in a list? Maybe the sessionKey from subadapters can use whatever wrapper(custom/default) is configured for the output of ForEachChildElementPipe

Environment Information

FF! 9.1.1-20250513.130355: ZaakBrug 1.24.5
Running on c4b8cc2fa294 using Apache Tomcat/10.1.39
Java Version: OpenJDK Runtime Environment (21.0.6+7-LTS)
Heap size: 801.9 MiB, total JVM memory: 1.1 GiB
Free memory: 318.1 MiB, max memory: 11.5 GiB
Free disk space: 973.0 GiB, total disk space: 1006.9 GiB
Up since: 2025-05-15 17:27:07, timezone: Europe/Amsterdam

Steps To Reproduce

No response

Configuration

<ForEachChildElementPipe name="RolMappingIterator"
                storeResultInSessionKey="RolMappingResults"
                elementXPathExpression="/roles/*">
                <IbisLocalSender
                    name="CallAddRolToZgw"
                    javaListener="AddRolToZgw"
                    returnedSessionKeys="Error">
                    <Param name="ZgwRolTypen" sessionKey="ZgwRolTypen" type="DOMDOC" />
                    <Param name="ZaakType" sessionKey="originalMessage" xpathExpression="/zakLk01/object/isVan/gerelateerde/code" />
                    <Param name="ZaakTypeUrl" xpathExpression="$GetZaakTypeResult/ZgwZaakTypen/ZgwZaakType/url">
                        <Param name="GetZaakTypeResult" sessionKey="GetZaakTypeResult" type="DOMDOC" />
                    </Param>
                    <Param name="RolMapping" sessionKey="GlobalConfig" type="DOMDOC" />
                </IbisLocalSender>
                <Forward name="success" path="FilterBaseZdsWordtZaak" />
                <Forward name="exception" path="UncaughtException" />
            </ForEachChildElementPipe>

Input

No response

What database are you using?

No response

What browsers are you seeing the problem on?

No response

Relevant Log Output

Anything else?

No response