List Operation subtract: remove all occurences of object? Or the first one?

1
In my microflow I use the List Operation Substract. I know my list can contain more times the same* object. My question is: will the substract function remove all occurences of my object from the list the first one found? *I added the 'same' object from different retrieve actions, so are that for the framework also the same objects?
asked
1 answers
1

In Mendix, lists are handled in many situations as Sets, but not everywhere. In java actions for example you can use real list objects, with multiple times the same object.

From the code, for the list operations the lists are converted to sets first, so all occurrences will be removed. I consider this a bug or at least a major inconsistency, so you might want to file a bug report for it.

answered