Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL Decode custom-object tokens #300

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

npracht
Copy link

@npracht npracht commented Feb 16, 2023

Q A
Bug fix? (use the a.b branch)
New feature/enhancement? (use the a.x branch) [ ]
Deprecations? [ ]
BC breaks? (use the c.x branch) [ ]
Automated tests included? [ ]
Related user documentation PR URL mautic/mautic-documentation#...
Related developer documentation PR URL mautic/developer-documentation#...
Issue(s) addressed Fixes #...

Description:

error on token in email based on a link field

Steps to test this PR:

  1. Create url custom field on custom object
  2. Create email
  3. Add link from the custom field (on image src for instance) : {custom-object=your_object:image_link | order=latest | limit=1} (see Acquia's doc if needed).
  4. Send to contact
  5. The image is not generated (src is empty)

Capture d’écran 2023-02-16 à 08 57 41

Apply PR, test again and all fixed 🚀 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant