- Issue created by @liquidcms
- 🇳🇱Netherlands megachriz
This sounds like an UX issue in Feeds Tamper, so moving it to that project.
The way Feeds Tamper currently works:
- It sorts all Tamper plugins by weight.
- Then it loops through all Tampers and groups them by source field.
- It loops through all source fields with Tamper plugins.
- Per source field, it applies all Tamper plugins for that source field.
So I think that the issue is is that the tampers for source 'Y' are handled later than those for source 'X'. This means that when Feeds Tamper applies tampers for source 'X', the value for the temporary target is not yet available.
A short term solution would be to set the weight of the first Tamper plugin for source 'Y' to a lower value than for source 'X'.
A long term solution would be to redesign the Feeds Tamper UI, so it becomes clear which source is taken care of first. Even better would be to change the processing logic so that tampers are not executed strictly per source in sequence. Instead, tampers from different sources could be interleaved according to their weights, allowing you to apply a tamper to source X, then one to source Y, and then another to source X within the same run. But that change has more impact and could cause BC breaks.
By the way, sorry for the very late reply. I'm walking through the bug reports for Tamper to see what should be fixed for a stable release.