Association#getKeys() does not take into account the currentState if clear is used

Description

When clear has been called, we might have other operations added to the association (typically a PUT) after that.

This is correctly supported in all the methods (size, get...) except for the getKeys() method.

It was not really an issue until now as we did not reuse the state of the Association but it is indeed a bug and in the way of as we do now need to track the state of the Association.

Environment

None

Assignee

Guillaume Smet

Reporter

Guillaume Smet

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

backportDecision

None

backportReEvaluate

None

Components

Sprint

None

Fix versions

Priority

Major
Configure