sfmc-devtools
sfmc-devtools copied to clipboard
[BUG] replacing MIDs in JSONs break buildTemplate
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
if your markets contain a number and that number happens to match a value directly assigned to a JSON attribute, the result will be invalid json which in turn breaks buildTemplate.
already seen this issue on user
and on asset
Expected Behavior
such fields should simply be auto-stringified first to avoid the issue.
Steps To Reproduce
- Go to '...'
- Click on '....'
- Run '...'
- See error...
Version
4.3.4
Environment
- OS:
- Node:
- npm:
Participation
- [X] I am willing to submit a pull request for this issue.
Additional comments
No response