Problem/Motivation

If a token can't be replaced, it prints out the raw token in the form of [xyz:xyz:xyz].

Steps to reproduce

Check 'replace tokens' in the block configuration but add a token that cannot be replaced.

Proposed resolution

clear the value using the 'clear' attributes in the token service.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kyleleber created an issue. See original summary.

kyleleber’s picture

Status: Active » Needs review
luke.leber’s picture

Status: Needs review » Reviewed & tested by the community

  • kyleleber committed c0ffaa25 on 1.0.x
    Issue #3482210: Tokens that cannot be replaced are printed out
    
kyleleber’s picture

luke.leber’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.