- Issue created by @liquidcms
My guess is this is obvious but hoping just a simple bug that can be overcome as it offers a lot of power if this worked as the UI suggests.
I am trying to write a new tamper plugin as a simple conditional tamper.
I want to set source X value to either field A or field B based on source Y value.
- Source Y has 4 values, 2 have me write X to A, 2 have it go to B.
- i Copy Y to Temporary target M
- i rewrite the 4 options to either 0 or 1
I then wrote a new plugin which writes NULL based on if source field is 0 or 1. But this tamper needs to know the value written to my tmp target but it does not know this value.
I was confused as the built in Copy tamper includes a list of to/from fields and includes the tmp ones as well. But i tested and it also does not work to copy from a tmp target.
Since it does list fields that it says are supported to copy, at the very least this is bug report in that it should not list tmp target fields; but hoping this is fixable as my conditional tamper relies on this working.
Active
1.0
Code