SoniyaAbraham89 opened a new pull request, #7130:
URL: https://github.com/apache/incubator-kie/pull/7130

   When an intermediate catch event with message correlation is used inside a 
subprocess, the process-side correlation resolver wraps scalar values in an 
Object[] before comparing them against the incoming message's scalar 
correlation key. This caused CorrelationInstance#correlationMatches to always 
return false (Object[] != String), so the process never consumed the message.
   
   Fix by introducing a private correlationPropertyEquals helper that unwraps a 
single-element Object[] on either side of the comparison before delegating to 
equals(). This keeps the fix local to the comparison logic without changing how 
correlation properties are stored or resolved.
   
   **Issue**: _(please edit the GitHub Issues link if it exists)_
   
   https://github.com/apache/incubator-kie-issues/issues/2399
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to