Do not return resources that are derived from Entitlements that directly address a PCI where the Entitlement has an "Active from" date in the future (should appear in "future" list) or "Active to" date in the past (should appear in "dropped" list).
The request for "current" or "all" titles includes the resources correctly
Where the resource is derived from an Entitlement for a package, the requests work as expected
Steps to Reproduce:
- Create agreement
- Add Agreement Line for a PCI
- Set the "Active From" date for the Agreement Line to a date in the future
- Request /erm/sas/<Agreement UUID>/resources/future
Get a list resources including the resource the PCI refers to
Get no resources listed
I think this is related to the implementation of the new ErmTitleList for the Comparison work.
This works in Goldenrod so has been introduced since the Goldenrod release