Customer's metadata (name and last name) are shown in multiple places of the system.
If the customer has some previous metadata versions, then the system doesn't handle those situations correctly and doesn't show the latest versions:
Steps
Either create a new customer or use existing one
Update at least the FIRST_NAME and LAST_NAME. My test case:
Browse through various UI pages and check, what is shown
Expected result - only the currently active metadata is shown to the user
Actual result:
On agreements list, outdated data is shown:
On "Modify" modal, outdated data is shown:
On "New agreement" form, all previous versions of the metadata is shown:
Summary
Customer's metadata (name and last name) are shown in multiple places of the system. If the customer has some previous metadata versions, then the system doesn't handle those situations correctly and doesn't show the latest versions:
Steps