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

Mailing - Add serialize and add to template_options field #22785

Merged
merged 1 commit into from
Feb 18, 2022

Conversation

colemanw
Copy link
Member

Overview

Improve the mailing schema metadata for template_options and template_type fields.

Before

Field serialization missing from metadata, special handling added to api to compensate.

After

No need for special handling to json_encode the field, the BAO takes care of that automatically when serialize is declared.

Comments

Test coverage in api_v3_MailingTest::testMailerCreateTemplateOptions

@civibot
Copy link

civibot bot commented Feb 17, 2022

(Standard links)

No need for special handling to json_encode the field, the BAO
takes care of that automatically when `serialize` is declared.

Test coverage in api_v3_MailingTest::testMailerCreateTemplateOptions
@colemanw colemanw force-pushed the mailingTemplateOptions branch from bb9cabc to 79216b0 Compare February 17, 2022 22:38
@eileenmcnaughton eileenmcnaughton merged commit 43e0576 into civicrm:master Feb 18, 2022
@eileenmcnaughton eileenmcnaughton deleted the mailingTemplateOptions branch February 18, 2022 00:19
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.

3 participants