Find replace (multiline) adding a carriage return to end of replacements

Created on 14 January 2025, 6 days ago

Problem/Motivation

I'm using the 'Find replace (multiline)' tamper, but it appears to be adding the carriage return ("\r") to the end of replacements for each of the lines before the final (I'd guess because that's the only one that doesn't actually have a carriage return). This wasn't a serious problem for my 'Long Text' field imports, but it does specifically break field imports for things like 'List', which need to match the keys.

I've attached a screenshot of the tamper settings along with windows showing the source item from the log for two items with the result of the replacement for the "pricing" field. The top one threw an error while the bottom one was successfully created.

I am able to use three individual 'Find replace' tampers to successfully get my import to work, but keeping them all in one tamper would clean things up a lot.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jwineichen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024