- Issue created by @mxh
The action "List: add item" allows to create custom lists and provides an option "Set by specified key".
Such a custom list is mostly then a DataTransferObject
created on runtime by ECA.
When setting a numeric key, then the DataTransferObject will apply a rekey:
https://git.drupalcode.org/project/eca/-/blob/2.1.x/src/Plugin/DataType/...
That leads to the problem that a specified numeric key will be dropped and replaced by a numeric sequence order of the list. So whenever the (numeric) key is important, for example when setting an options list in a form, then this mechanism to use a custom list for that case becomes unusable.
It may even be worse when not knowing about this fact, that wrong keys are being used within a process.
Somehow we need to prevent the rekey logic when setting a specified key.