-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
[Regression] campaign name no longer accepted #19633
Conversation
(Standard links)
|
First test fail looks related and expected |
Right. APIv3 will no longer accept campaign name in place of the id. |
I can see this causing unexpected breakage elsewhere too. At the very least I think this breaking change to API3 needs to be flagged in the release notes and a pre-upgrade message. |
@colemanw I think we have to find a way to handle this in the apiv3 code - even if it is hacky |
@colemanw I am guessing the test fails might be due to unique_name vs name_name CRM_Core_BAO_ActionScheduleTest::testInheritedMembershipPermissions |
@eileenmcnaughton the test fail was because I forgot my v3 syntax and typed |
@colemanw nice |
Overview
In master we removed the pseudoconstants on
campaign_id
fields with the intent they would rely on the FKs.This adds a shim for APIv3 to maintain legacy support for getoptions on fields named
campaign_id
.