Closed SanojPunchihewa closed 2 months ago
Fix intermittent validation issues in source view.
When a comment is added inside a nested mediator like clone, the current mediator was not added to the stack which has led to validation issues.
clone
<clone> <target> <sequence> <property action="remove" name="Content-Encoding" scope="transport"/> </sequence> </target> <target> <sequence> <sequence key="Sequence_1"/> <property expression="get-property('value')" name="uri.var.value" scope="default" type="STRING"/> <property action="remove" name="Content-Encoding" scope="transport"/> <header expression="get-property('XSRF_TOKEN')" name="X-XSRF-TOKEN" scope="transport"/> <!--Set Cookie header --> <call> <endpoint> <http method="get" uri-template="some_url"> </http> </endpoint> </call> </sequence> </target> </clone>
Fixes: https://github.com/wso2/micro-integrator/issues/3313
Purpose
Fix intermittent validation issues in source view.
When a comment is added inside a nested mediator like
clone
, the current mediator was not added to the stack which has led to validation issues.Fixes: https://github.com/wso2/micro-integrator/issues/3313