-
-
Notifications
You must be signed in to change notification settings - Fork 853
Add title, frontend_title to membership type #34160
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
base: master
Are you sure you want to change the base?
Conversation
|
🤖 Thank you for contributing to CiviCRM! ❤️ We will need to test and review this PR. 👷 Introduction for new contributors...
Quick links for reviewers...
|
3c50ae8 to
ccb9cb4
Compare
|
@mattwire this is a good start. The sql upgrader need a bit more finesse to handle the case where the columns have already been added (e.g. when the upgrader runs multiple times subsequent runs should be no-op). To handle that cleanly, the whole thing probably needs to be in one function. |
709993c to
b033985
Compare
5df22b6 to
4d54363
Compare
42f28f2 to
04dba80
Compare
|
@mattwire I was able to fix almost every test, however:
Once those are fixed, this PR still isn't functional, because the new fields aren't displayed. I did add these new fields to the admin form when creating & viewing membership types, but they also need to be added to front-end forms. |
Splits the name column into 3, as it was previously doing triple-duty.
9b604c9 to
cbd2f0a
Compare
Without this, the multilingual upgrader crashes. But we really need to get away from our upgrader's dependence on these, as they are no longer generated by EFv2.
cbd2f0a to
fa6a7f2
Compare
Overview
https://lab.civicrm.org/dev/core/-/issues/4627
See #28182 and #34153
Re-work of original PR from @eileenmcnaughton
Before
What is the old user-interface or technical-contract (as appropriate)?
For optimal clarity, include a concrete example such as a screenshot, GIF (LICEcap, SilentCast), or code-snippet.
After
What changed? What is new old user-interface or technical-contract?
For optimal clarity, include a concrete example such as a screenshot, GIF (LICEcap, SilentCast), or code-snippet.
Technical Details
If the PR involves technical details/changes/considerations which would not be manifest to a casual developer skimming the above sections, please describe the details here.
Comments
Anything else you would like the reviewer to note