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

No need to encode '{}' because visual tokens are not used anymore #2625

Merged
merged 1 commit into from
Oct 11, 2016

Conversation

escopecz
Copy link
Member

@escopecz escopecz commented Oct 3, 2016

Q A
Bug fix? Y
New feature? N
Related user documentation PR URL /
Related developer documentation PR URL /
Issues addressed (#s or URLs) #2447
BC breaks? N
Deprecations? Y

Description:

In certain content the curly brackets in the tokens were encoded. The reason was from the time when Mautic used visual tokens.

Steps to test this PR:

  1. Apply this PR.
  2. Test again. {} will not be replaced.

Steps to reproduce the bug:

  1. Try to create a new email with the content published here: Froala changes {leadfield=firstname} to %7Bleadfield=firstname%7D #2447 (comment)
  2. Check that {} were encoded after Save&Close or Apply+refresh.

List deprecations along with the new alternative:

  1. BuilderTokenHelper::replaceVisualPlaceholdersWithTokens() is deprecated

@escopecz escopecz added T1 Low difficulty to fix (issue) or test (PR) bug Issues or PR's relating to bugs ready-to-test PR's that are ready to test labels Oct 3, 2016
@escopecz escopecz added this to the 2.2.1 milestone Oct 3, 2016
@mqueme
Copy link
Contributor

mqueme commented Oct 11, 2016

??

@escopecz escopecz added the pending-test-confirmation PR's that require one test before they can be merged label Oct 11, 2016
@alanhartless alanhartless merged commit 62d76f8 into mautic:staging Oct 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues or PR's relating to bugs pending-test-confirmation PR's that require one test before they can be merged ready-to-test PR's that are ready to test T1 Low difficulty to fix (issue) or test (PR)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants