CRM-15931, CRM-15733 - civicrm_mailing_group.group_type - Restore uppercase values
authorTim Otten <totten@civicrm.org>
Sat, 7 Feb 2015 13:58:23 +0000 (05:58 -0800)
committerTim Otten <totten@civicrm.org>
Sat, 7 Feb 2015 14:23:58 +0000 (06:23 -0800)
commite2d85c92c323203c9c7d8f9303a9f0f9819dc7e1
tree01dd6bd120cdf5d740058d210bfa7fd80ddb4f60
parent364ea80814862fdcfacbb00268ccc4287ac45f5d
CRM-15931, CRM-15733 - civicrm_mailing_group.group_type - Restore uppercase values

In 4.5.x, the schema for group_type changed from
enum('Include','Exclude','Base') to varchar, which made it more sensitive to
variations in case.  New mailings would be created with lowercase 'include',
but old mailings still had 'Include'.  UI's would display correctly for old
mailings but not for new mailings.

CRM-15733 and CRM-15931 both report peculiar symptoms of the change.

This patch aims to consistently use the 4.4.x data-model (for both old and
new mailings).
CRM/Mailing/BAO/Mailing.php
CRM/Mailing/Form/Group.php
CRM/Upgrade/Incremental/sql/4.5.7.mysql.tpl [new file with mode: 0644]
xml/version.xml