mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
Copying a template doesn't copy the variables #4231
Labels
No labels
Area: API
Area: Campaigns
Area: Cases
Area: Clean Up
Area: Clean Up: Performance
Area: Dashlets
Area: Databases
Area: Developer Tools
Area: Elasticsearch
Area: Elasticsearch
Area: Emails
Area: Emails:Campaigns
Area: Emails:Cases
Area: Emails:Compose
Area: Emails:Config
Area: Emails:Templates
Area: Environment
Area: Installation
Area: Language
Area: Mobile
Area: Module
Area: PDFs
Area: PHP8
Area: Reports
Area: Studio
Area: Styling
Area: Upgrading
Area: Workflow
Area:Activity Stream
Area:Calls
Area:Import
Area:Projects
Area:Search
Area:Surveys
Area:Themes
Area:Users
Branch:Hotfix
Good First Issue
Hacktoberfest
Help Wanted
PR:Community Contribution
PR:Type:Enhancement
Priority:Critical
Priority:Important
Priority:Moderate
Severity: Major
Severity: Minor
Severity: Moderate
Status: Requires Code Review
Status: Requires Updates
Status: Stale
Status: Team Investigating
Status:Assessed
Status:Fix Proposed
Status:Needs Assessed
Status:Requires Automated Tests
Type: Bug
Type:Deprecated
Type:Discussion
Type:Duplicate
Type:Invalid
Type:Question
Type:Suggestion
Type:Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SuiteCRM-SuiteCRM#4231
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jgramp on GitHub (Feb 29, 2020).
Issue
I would expect variables to come across when I copy a email marketing template, but if not, I would at least expect the links not to come over, as they insinnuate that the variables are there and the links will work, although they are in fact broken, due to the missing variables.
Expected Behavior
Actual Behavior
Possible Fix
Copy across the variables into the new template.
Steps to Reproduce
Context
Your Environment
Suite CRM Version 7.11.10
Sugar Version 6.5.25 (Build 344)
Chrome Version 80.0.3987.122 (Official Build) (64-bit)
MySQL, PHP 7
@SohanTirpude commented on GitHub (Apr 1, 2020):
Hi @jgramp, @Mac-Rae, can you provide exact steps to reproduce this issue? I am not able to follow the steps you provided above. I mean exact which module to choose, which email template you chose and what exact actions you performed. I hope you won't mind me asking this question.
@jgramp commented on GitHub (Apr 23, 2020):
Hi @ChangezKhan,
To replicate this error, log in to Suite CRM and go to:
So for example, if you copy an existing template and choose the template to copy from the Email Template drop down list and click Save. Then click on the Tracker URLs list you will see it is empty. Then if you go down to the email text and click Tools > Source code you will see the links referring to the non existent tracker items:
E.g. <a href="%7BOne%20Tracker%20Link%7D">One Tracker Link Example</a>So when you go to test your email campaign in the later steps and in your email client you click on the links, they are all broken, because they reference non existent tracker URLs. The only way to get them working again that I have found is to manually recreate them again, one by one and then re-insert them into the email template.