Corda Shell incorrectly deserialises generic types as raw types

Description

I have a flow that issues Amount<T> where T is not java.util.Currency. However, Corda's shell always deserialises my YAML as Amount<Currency>. This prevents me from executing my flow from the shell.

has fixed Corda so that it can deserialise Amount<T> according to the type of T. However, Corda's shell also needs to be modified to pass the correct generic type information into the YAML-parsing library (i.e. Jackson in this case).

Activity

Show:
Gavin Thomas
August 21, 2018, 8:38 AM

please backport this fix to Corda 3.3 and Corda Enterprise 3.x (release-v3)

Assignee

Chris Rankin

Reporter

Chris Rankin

Labels

Sprint

None

Epic Link

None

Priority

Medium

Severity

Medium

CVSS Score

None

CVSS Vector

None

Due Date

None

Engineering Teams

None

Fix versions

Affects versions

None

Ported to...

None

Story Points / Dev Days

None
Configure