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

Stop testing for gender_id output that was described as 'legacy' years ago #21558

Merged
merged 1 commit into from
Sep 21, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Sep 21, 2021

Overview

Stop testing for gender_id output that was described as 'legacy' years ago

Before

The widget advertises {contact.gender} but {contact.gender_id} is a hidden token. Both are non-standardness

We have test coverage locking in this non-standardness for both

After

We stop testing the non-standard hidden token & allow it to stop returning the label & revert back to the id or 'whatever' since it's not an 'official' token

Documention is here for this token changing (the change is in a follow up PR but I wanted to get this merged to expose this decision & simplify that PR but taking the decision out of it) - along with other edge case tokens being altered. By making this a 'thing' in 5.43 we can give people the notice to check & test.

Technical Details

{contact.gender_id} has not been 'advertised' in the widget for years, if ever - last commit was in 2019 it was an array formatting commit

Comments

@colemanw @seamuslee001

…s ago

This token is not 'advertised' in the widget. I think removing this
@civibot
Copy link

civibot bot commented Sep 21, 2021

(Standard links)

@civibot civibot bot added the master label Sep 21, 2021
@seamuslee001 seamuslee001 merged commit cf8a5c3 into civicrm:master Sep 21, 2021
@seamuslee001 seamuslee001 deleted the no_gender branch September 21, 2021 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants