Certain combination of VaultQueryCriteria doesn't work as expected

Description

Certain combination of VaultQueryCriteria doesn't work expected on Corda v4.3.

Example:

The status above defaults to UNCONSUMED.

However, below works:

Did a little research, the problem is with the copy() method in QueryCriteria.kt which defaults the values:

 

Assignee

Unassigned

Reporter

Ashutosh Meher

Labels

Priority

Medium

Fix versions

Ported to...

None

Feature Team

Kernel Group

CVSS Vector

None

Engineering Teams

None

Severity

Medium

Story Points / Dev Days

3

Affects versions

Configure