Flow failed in case when cordapp folder contains contracts jars with the same version and hash but different names.

Description

Steps to reproduce:
1. Download corda-finance-contracts.*.jar;
2. Put in a cordapp folder and rename (e.g. corda-finance-contracts.*V1.jar );
3. Copy and paste this contract to the same folder;
4. Rename on (e.g. corda-finance-contracts.*V2.jar);
5. Try to register node.
6. Connect to node's shell and try to Issue and transfer some cash

Expected result:
As per we should not get any errors in case when hashes and versions of cordapp are the same

Actual result:
We are not receiving any warnings. But running flow from this cordapps failed

Reproducible on Corda OS 4.4-RC02
Not reproducible on Corda ENT 4.4-RC02

Assignee

Adel El-Beik

Reporter

Alexey Shirin

Labels

Priority

Medium

Fix versions

Ported to...

None

Feature Team

Kernel Group

CVSS Vector

None

Engineering Teams

None

Severity

Medium

Affects versions

Configure