***Note from Migration:***
Original Title was: Change default value of AttributeValueMapper transformer from 'empty string' to 'No action'
A couple days ago I used the AttributeValueMapper transformer to map some values from a database column, to a new attribute value for use in an api. The thing is that only a couple of values had to be 'remapped' for the use in the api, while others could remain the same. In this usecase I was using the same Destination attribute as the source attribute.
Unfortunately I was a bit too hasty, and after a while I discovered that some of my original values were remapped to an empty string.
Personally I was expecting the default value to remain the same in case no mapping is specified for that specific source value, however by default attributes are mapped to an empty string, as an empty string is the default (of the 'default value' parameter). For my usecase, but also in general, I feel it would be more natural to use the default value 'no action' (for the 'default value' parameter).
Also, when using 'no action' for the 'default value' parameter, the (~default) setting of mapping to a different destination attribute, would return a 'missing value' in case no mapping is specified for the source value (which I believe to be more appropriate than an empty string).


