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

CRM-18157 - Make the mail format required #9086

Merged
merged 2 commits into from
Sep 26, 2016
Merged

Conversation

samuelsov
Copy link
Contributor

@seamuslee001
Copy link
Contributor

Hi @samuelsov Samuel can you please fix the style error found by Jenkins https://test.civicrm.org/job/CiviCRM-Core-PR/11747/checkstyleResult/new/ (making true TRUE)

Cheers

Seamus

@yashodha yashodha changed the title Make the mail format required CRM-18157 - Make the mail format required Sep 22, 2016
@samuelsov
Copy link
Contributor Author

It should be good... i should definitively have some way to check for checkstyle before submitting the PR

@seamuslee001
Copy link
Contributor

@samuelsov If you download civicrm-buildkit and install it, there is a tool civilint which does the style checking.

@samuelsov
Copy link
Contributor Author

The only failing tests seems to be "incomplete tests" (unrelated) and it's really a minor patch. I think there is no much risks in merging this one.

@colemanw colemanw merged commit 78423f1 into civicrm:master Sep 26, 2016
@@ -84,7 +84,7 @@ public static function buildQuickForm(&$form) {
//using for display purpose.
$form->assign('commPreference', $commPreference);

$form->addField('preferred_mail_format', array('entity' => 'contact', 'label' => ts('Email Format')));
$form->addField('preferred_mail_format', array('entity' => 'contact', 'label' => ts('Email Format')), TRUE);
Copy link
Contributor

@jitendrapurohit jitendrapurohit Sep 28, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This throws a validation error when attempting to create a new contact from "New Individual" block. Fixed at #9134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants