Example data leaks from the live database
The example data has been adding a pseudo-contact-id. However, if a token is used that is not in the example data it resolves to a 'real live' contact's data.
e.g the contact ID for 'Barb' in the sample data is 100
In my current developer database Contact 100 is 'Pennsylvania Action Partnership'
If I go to view the contribution invoice and replace the subject with the token for 'addressee' there is no defined value for 'Barb' so it goes to the database & resolves the value for contact 100.
I tried to understand why there is a pseudo-contact-id and I can think of two reasons
- perception a placeholder value would be less confusing.
- something didn't work otherwise.
I tried changing the 100 to 0 and apart from tests with a specific expectation it appears to work. Arguably another false value would be better - but it would have to be REALLY BIG to be sure no-one's db has it & I think you could just as well make the case that 0 is less confusing.