- @megachriz opened merge request.
- @megachriz opened merge request.
- π³π±Netherlands megachriz
I think that the issue actually is in Feeds Tamper:
-
Say you have a source item with the following data:
[ 'phone' => '123/456-7890', ]
-
On the source "phone", you apply the Tamper "find_replace", replacing
/
with)
-
Also on the source "phone", you apply the Tamper "rewrite", with the following text:
([phone]
With Feeds, the result becomes:
[ 'phone' => '(123/456-7890', ]
That's because Feeds Tamper now writes the result back to the source at the end of the chain and not in between.
- Branch 3323381-rewrite-tests_only changes ChainedTamperTest to mimic Feeds Tamper's current behavior.
- Branch 3323381-rewrite-test-updated changes ChainedTamperTest to mimic what Feeds Tamper's behavior probably should be.
-
Say you have a source item with the following data:
-
megachriz β
committed f4a5e23b on 8.x-1.x
Issue #3323381 by megachriz: Added test coverage for using the Rewrite...
-
megachriz β
committed f4a5e23b on 8.x-1.x
- π³π±Netherlands megachriz
I've provided a fix and I've updated the issue summary to clarify what the problem is.