dev/core#2907 fix for gdpr clobering contact tokens
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 12 Oct 2021 19:46:39 +0000 (08:46 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 13 Oct 2021 01:22:21 +0000 (14:22 +1300)
commit4f5f985c08cf579b7bea6a752a868acce248c4f1
tree5abb09d6e18967fe8074252c524056a50c51ab16
parentbfeae56b232d726f89adef177272abe6f2184f4c
dev/core#2907 fix for gdpr clobering contact tokens

This is a fix for contact tokens not rendering when gdpr tokens is installed.

Gdpr declares some addtional tokens with the namespace 'contact'. I am inclined to
agree this counts as 'naughty' and so while I have fixed the clobbering by
not processing contact-metadata tokens I have not fixed the enotices.

If we think it is non-naughty I can kill those - but I've already loosened
some strictness that I think had benefits in order to facilitate this
CRM/Contact/Tokens.php
CRM/Core/EntityTokens.php