Hi, I posted to Hub, but haven't heard back yet-
If an existing campaign has an ampersand in the name, it is treated as if it can't be found and a new campaign w/ the "&" replaced by "and" is created, even if the campaign is looked up directly in the Virtual Terminal.
We found this due to an apex trigger that acts as a validation rule (it checks for a specific field on insert or update and fires an error). The new campaign can't be created due to this rule, while simply updating the existing campaign won't fire it.
Here is how I verified the issue:
1. Process gift with existing "&" campaign name in virtual terminal-- failure on Data rec due to validation
2. Remove the "&" in the existing campaign name, works fine,
3. Deactivate rule-- Process gift with existing "&" campaign-- it creates a new campaign with the name being "and" instead of "&".
If an existing campaign has an ampersand in the name, it is treated as if it can't be found and a new campaign w/ the "&" replaced by "and" is created, even if the campaign is looked up directly in the Virtual Terminal.
We found this due to an apex trigger that acts as a validation rule (it checks for a specific field on insert or update and fires an error). The new campaign can't be created due to this rule, while simply updating the existing campaign won't fire it.
Here is how I verified the issue:
1. Process gift with existing "&" campaign name in virtual terminal-- failure on Data rec due to validation
2. Remove the "&" in the existing campaign name, works fine,
3. Deactivate rule-- Process gift with existing "&" campaign-- it creates a new campaign with the name being "and" instead of "&".
Comment