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:

Activity

Show:
ryan.fowler
March 4, 2020, 3:34 PM
Edited

Possibly the root cause of ?

ryan.fowler
May 7, 2020, 12:38 PM

A lot of this work would benefit from improved documentation. In many cases these errors may be due to confusion over how the code works instead of a bug.

Assignee

nikolett.nagy

Reporter

Ashutosh Meher

Sprint

None

Epic Link

None

Priority

Medium

Severity

Medium

CVSS Score

None

CVSS Vector

None

Due Date

None

Engineering Teams

Kernel

Fix versions

Affects versions

Ported to...

Corda 4.3
Corda Enterprise 4.3
Corda 4.4
Corda Enterprise 4.4
Corda 4.5
Corda Enterprise 4.5
Corda 4.6
Corda Enterprise 4.6

Story Points / Dev Days

3
Configure