After updating to beta3, I'm getting this error:
User warning: Attempting to perform token replacement for token type content-type without required data in token_tokens() (line 791 of /var/www/at/sites/all/modules/token/token.tokens.inc).
I have a view attached to a node using EVA and the entity populates the view arguments with tokens. The content type token to be precise. This worked before (and actually still works), but now an error is being thrown. I'm not sure if this should be fixed here or by EVA.
I've searched where the code throwing the error came from, this is the actual commit: http://drupalcode.org/project/token.git/commit/e838089
And the corresponding issue: #1164030: URL tokens need 'path' data, not 'url' data
If you need any more info, I'm happy to provide it. Thanks
Comment | File | Size | Author |
---|---|---|---|
#3 | 1233746-mute-token-type-mismatch-warning.patch | 1.03 KB | Dave Reid |
Comments
Comment #1
Dave ReidI'm unable to duplicate this with just Token module.
Comment #2
Dave ReidI guess our warning when this happens is too aggressive and should not show during normal operations since it's ok for a token to return nothing. We should only show this warning when tests are running.
Comment #3
Dave ReidComment #4
a.ross CreditAttribution: a.ross commentedHeh, that's fast :)
The error disappears with the patch, thanks.
Comment #5
Dave ReidCommitted #3 to Git: http://drupalcode.org/project/token.git/commit/4d741d5
Comment #7
Elijah Lynn