Shadow Variable listeners called alphabetically instead of in order of declaration #680
Labels
bug
Something isn't working
process/needs triage
Requires initial assessment of validity, priority etc.
Describe the bug
When you have more than 1 Shadowvariable listeners on a variable, they are called alphabetically based on the source variable name.
Expected behavior
They are called in the order of declaration
Actual behavior
Describe clearly and concisely what actually happened.
To Reproduce
Taken from the food-packaging quickstart, this is the original
When you change it to e.g.
You will notice that the variable listener is called in another order (because
technician
comes alphabetically after `perviousJob``@ge0ffrey has an idea why it happens
Environment
Timefold Solver Version or Git ref:
Output of
java -version
:Output of
uname -a
orver
:Additional information
Related issue in quickstarts: TimefoldAI/timefold-quickstarts#315
The text was updated successfully, but these errors were encountered: