4.7.20 release notes: add boilerplate, dates
[civicrm-core.git] / release-notes / 4.7.20.md
1 # CiviCRM 4.7.20
2
3 Released June 7, 2017
4
5 - **[Features](#features)**
6 - **[Bugs resolved](#bugs)**
7 - **[Miscellany](#misc)**
8 - **[Credits](#credits)**
9
10 ## <a name="features"></a>Features
11
12 ### Core CiviCRM
13
14 - **[CRM-20591](https://issues.civicrm.org/jira/browse/CRM-20591) Disabling a payment processor via UI (other than Payment_PayPalImpl) will break live mode ([10402](https://github.com/civicrm/civicrm-core/pull/10402))**
15
16 - **[CRM-20576](https://issues.civicrm.org/jira/browse/CRM-20576) Increase length of civicrm_batch.title ([10359](https://github.com/civicrm/civicrm-core/pull/10359))**
17
18 - **[CRM-20238](https://issues.civicrm.org/jira/browse/CRM-20238) Hook for inbound SMS messages ([10353](https://github.com/civicrm/civicrm-core/pull/10353))**
19
20 - **[CRM-20570](https://issues.civicrm.org/jira/browse/CRM-20570) Add unit test for disabling of PCP ([10350](https://github.com/civicrm/civicrm-core/pull/10350))**
21
22 - **[CRM-20552](https://issues.civicrm.org/jira/browse/CRM-20552) Task for "Add Relationship - to individual" is missing ([10332](https://github.com/civicrm/civicrm-core/pull/10332))**
23
24 - **[CRM-20560](https://issues.civicrm.org/jira/browse/CRM-20560) Deferred Revenue report bug ([10338](https://github.com/civicrm/civicrm-core/pull/10338))**
25
26 - **[CRM-19977](https://issues.civicrm.org/jira/browse/CRM-19977) Update all fields manipulated by hook_civicrm_geocoderFormat when geocoding ([9864](https://github.com/civicrm/civicrm-core/pull/9864))**
27
28 - **[CRM-20559](https://issues.civicrm.org/jira/browse/CRM-20559) Revenue account is Deferred revenue rather than Revenue. ([10337](https://github.com/civicrm/civicrm-core/pull/10337))**
29
30 - **[CRM-20037](https://issues.civicrm.org/jira/browse/CRM-20037) Change Contribution tab to show balance due ([10334](https://github.com/civicrm/civicrm-core/pull/10334) and [10295](https://github.com/civicrm/civicrm-core/pull/10295))**
31
32 - **[CRM-20458](https://issues.civicrm.org/jira/browse/CRM-20458) Add civi.dao.preDelete event ([10197](https://github.com/civicrm/civicrm-core/pull/10197))**
33
34 - **[CRM-20425](https://issues.civicrm.org/jira/browse/CRM-20425) Activity status per mail account ([10159](https://github.com/civicrm/civicrm-core/pull/10159))**
35
36 - **[CRM-20474](https://issues.civicrm.org/jira/browse/CRM-20474) Refactor UFField api to follow standard api / BAO format ([10269](https://github.com/civicrm/civicrm-core/pull/10269), [10236](https://github.com/civicrm/civicrm-core/pull/10236), and [10244](https://github.com/civicrm/civicrm-core/pull/10244))**
37
38 - **[CRM-20498](https://issues.civicrm.org/jira/browse/CRM-20498) buildform hook invoked twice ([10278](https://github.com/civicrm/civicrm-core/pull/10278))**
39
40 - **[CRM-20424](https://issues.civicrm.org/jira/browse/CRM-20424) Set up method for marking code as deprecated ([10259](https://github.com/civicrm/civicrm-core/pull/10259) and [10202](https://github.com/civicrm/civicrm-core/pull/10202))**
41
42 - **[CRM-20312](https://issues.civicrm.org/jira/browse/CRM-20312) Identify and fix missing indexes ([10241](https://github.com/civicrm/civicrm-core/pull/10241))**
43
44 - **[CRM-13639](https://issues.civicrm.org/jira/browse/CRM-13639) ([10238](https://github.com/civicrm/civicrm-core/pull/10238))**
45
46 - **[CRM-20260](https://issues.civicrm.org/jira/browse/CRM-20260) Incorrect information is stored in civicrm_financial_item table ([9984](https://github.com/civicrm/civicrm-core/pull/9984))**
47
48 - **[CRM-20428](https://issues.civicrm.org/jira/browse/CRM-20428) Refactor CRM_Utils_File sourceSQLFile ([10216](https://github.com/civicrm/civicrm-core/pull/10216))**
49
50 - **[CRM-20435](https://issues.civicrm.org/jira/browse/CRM-20435) Don't use SQL in CRM_Activity_BAO_Activity::create() where DAO will suffice ([10168](https://github.com/civicrm/civicrm-core/pull/10168))**
51
52 - **[CRM-20459](https://issues.civicrm.org/jira/browse/CRM-20459) Actively deprecate CRM_Core_OptionGroup::getValue ([10200](https://github.com/civicrm/civicrm-core/pull/10200), [10201](https://github.com/civicrm/civicrm-core/pull/10201), and [10203](https://github.com/civicrm/civicrm-core/pull/10203))**
53
54 ### Core CiviCRM, NYSS
55
56 - **[CRM-20540](https://issues.civicrm.org/jira/browse/CRM-20540) entityRef field: create option to set wildcard preference ([10330](https://github.com/civicrm/civicrm-core/pull/10330))**
57
58 ### CiviContribute
59
60 - **[CRM-15067](https://issues.civicrm.org/jira/browse/CRM-15067) Email should appear in the profile in which it is included, rather than always at the top of contribution page ([10349](https://github.com/civicrm/civicrm-core/pull/10349))**
61
62 - **[CRM-20276](https://issues.civicrm.org/jira/browse/CRM-20276) When editing a contribution the value in civicrm_financial_item_amount is not updated ([10235](https://github.com/civicrm/civicrm-core/pull/10235))**
63
64 ### CiviReport
65
66 - **[CRM-20539](https://issues.civicrm.org/jira/browse/CRM-20539) Do not heed dao default for field when setting defaults on reports ([10319](https://github.com/civicrm/civicrm-core/pull/10319))**
67
68 ### CiviEvent
69
70 - **[CRM-20518](https://issues.civicrm.org/jira/browse/CRM-20518) Default participant status not set when status name not matches localized string 'Registered' ([10297](https://github.com/civicrm/civicrm-core/pull/10297))**
71
72 ### CiviCase
73
74 - **[CRM-20537](https://issues.civicrm.org/jira/browse/CRM-20537) Case Contact Index should be unique ([10318](https://github.com/civicrm/civicrm-core/pull/10318))**
75
76 ### CiviCampaign
77
78 - **[CRM-15984](https://issues.civicrm.org/jira/browse/CRM-15984) Add campaign field on Email activity form ([10317](https://github.com/civicrm/civicrm-core/pull/10317))**
79
80 ### CiviMail
81
82 - **[CRM-9683](https://issues.civicrm.org/jira/browse/CRM-9683) Implement timezone support for CiviMail ([10154](https://github.com/civicrm/civicrm-core/pull/10154))**
83
84 ### Drupal Integration Modules
85
86 - **[CRM-20462](https://issues.civicrm.org/jira/browse/CRM-20462) Add filter for current employer in views ([440](https://github.com/civicrm/civicrm-drupal/pull/440))**
87
88 ### Core CiviCRM, WordPress Integration
89
90 - **[CRM-18799](https://issues.civicrm.org/jira/browse/CRM-18799) WordPress requires exec() command not be disabled ([108](https://github.com/civicrm/civicrm-wordpress/pull/108))**
91
92 ## <a name="bugs"></a>Bugs resolved
93
94 ### CiviEvent
95
96 - **[CRM-20604](https://issues.civicrm.org/jira/browse/CRM-20604) Registering additional event participants causes fatal error ([10468](https://github.com/civicrm/civicrm-core/pull/10468))**
97
98 - **[CRM-20581](https://issues.civicrm.org/jira/browse/CRM-20581) Civi event users do not have access to StateProvince entity via the API ([10459](https://github.com/civicrm/civicrm-core/pull/10459))**
99
100 ### Core CiviCRM
101
102 - **[CRM-20662](https://issues.civicrm.org/jira/browse/CRM-20662) SMS Domain ID upgrade step breaks on multisite ([10444](https://github.com/civicrm/civicrm-core/pull/10444))**
103
104 - **[CRM-20564](https://issues.civicrm.org/jira/browse/CRM-20564) custom date fields in on-behalf-of forms broken ([10372](https://github.com/civicrm/civicrm-core/pull/10372))**
105
106 - **[CRM-19246](https://issues.civicrm.org/jira/browse/CRM-19246) Add testing for use of ACLs in group ([10284](https://github.com/civicrm/civicrm-core/pull/10284))**
107
108 - **[CRM-20573](https://issues.civicrm.org/jira/browse/CRM-20573) User deprecated function: Deprecated function on View Participant form ([10356](https://github.com/civicrm/civicrm-core/pull/10356))**
109
110 - **[CRM-20541](https://issues.civicrm.org/jira/browse/CRM-20541) Edge case where DB connection is not available ([10320](https://github.com/civicrm/civicrm-core/pull/10320))**
111
112 - **Add me to contributor-key.yml ([10342](https://github.com/civicrm/civicrm-core/pull/10342))**
113
114 - **Add Karen Stevenson to contributor-key.yml ([10345](https://github.com/civicrm/civicrm-core/pull/10345))**
115
116 - **[CRM-20566](https://issues.civicrm.org/jira/browse/CRM-20566) Fatal error on submit of 'Edit Contribution' ([10343](https://github.com/civicrm/civicrm-core/pull/10343))**
117
118 - **[CRM-20555](https://issues.civicrm.org/jira/browse/CRM-20555) Incorrect balance amount is shown on participant view page if 'Deferred Revenue' is enabled ([10204](https://github.com/civicrm/civicrm-core/pull/10204))**
119
120 - **CRM 20418: Make token insertion work correctly when wysiwig is not loaded on Message Template edit ([10336](https://github.com/civicrm/civicrm-core/pull/10336))**
121
122 - **[CRM-20508](https://issues.civicrm.org/jira/browse/CRM-20508) Unable to use non-roman characters in Custom fields ([10335](https://github.com/civicrm/civicrm-core/pull/10335) and [10328](https://github.com/civicrm/civicrm-core/pull/10328))**
123
124 - **[CRM-20546](https://issues.civicrm.org/jira/browse/CRM-20546) Purchasing a Membership online results in 5 Activities, 2 x Contribution ones, plus Renewal and Signup and Status change ([10324](https://github.com/civicrm/civicrm-core/pull/10324))**
125
126 - **NFC remove some unused variables. ([10314](https://github.com/civicrm/civicrm-core/pull/10314))**
127
128 - **[CRM-20549](https://issues.civicrm.org/jira/browse/CRM-20549) manage events does not list all events ([10325](https://github.com/civicrm/civicrm-core/pull/10325))**
129
130 - **[CRM-20550](https://issues.civicrm.org/jira/browse/CRM-20550) navigation menu added by extension never appears ([10326](https://github.com/civicrm/civicrm-core/pull/10326))**
131
132 - **[CRM-20517](https://issues.civicrm.org/jira/browse/CRM-20517) Submitting a Profile results in a "Contact Sub Type does not match" error when the contact subtype of an existing contact does not match the Profile subtype ([10302](https://github.com/civicrm/civicrm-core/pull/10302))**
133
134 - **[CRM-20494](https://issues.civicrm.org/jira/browse/CRM-20494) Import contact with two similar external ids results into fatal error, should be skipped. ([10276](https://github.com/civicrm/civicrm-core/pull/10276))**
135
136 - **[CRM-20510](https://issues.civicrm.org/jira/browse/CRM-20510) Petition signature doesn't show as an activity type for scheduled reminder ([10301](https://github.com/civicrm/civicrm-core/pull/10301))**
137
138 - **APIExplorer - Add cv and hyperlinks ([10309](https://github.com/civicrm/civicrm-core/pull/10309))**
139
140 - **NFC Add in function to check if Foreign key is there to make upgrade … ([10312](https://github.com/civicrm/civicrm-core/pull/10312))**
141
142 - **[CRM-20515](https://issues.civicrm.org/jira/browse/CRM-20515) notice errors on dmaster for add petition ([10296](https://github.com/civicrm/civicrm-core/pull/10296))**
143
144 - **[CRM-20452](https://issues.civicrm.org/jira/browse/CRM-20452) Fatal Error on saving Organisation Info when geocoding is enabled ([10192](https://github.com/civicrm/civicrm-core/pull/10192))**
145
146 - **Up the deprecation on old hook ([10292](https://github.com/civicrm/civicrm-core/pull/10292))**
147
148 - **[CRM-20392](https://issues.civicrm.org/jira/browse/CRM-20392) Credit card payment not recorded when contribution is partially paid ([10285](https://github.com/civicrm/civicrm-core/pull/10285) and [10271](https://github.com/civicrm/civicrm-core/pull/10271))**
149
150 - **Fixes to activity display in case timeline ([10281](https://github.com/civicrm/civicrm-core/pull/10281))**
151
152 - **Fix test cleanup to turn tax & invoicing off after the test. ([10286](https://github.com/civicrm/civicrm-core/pull/10286))**
153
154 - **Fix merge conflict ([10268](https://github.com/civicrm/civicrm-core/pull/10268))**
155
156 - **[CRM-20481](https://issues.civicrm.org/jira/browse/CRM-20481) Refactor Activity api to more efficient query ([10261](https://github.com/civicrm/civicrm-core/pull/10261))**
157
158 - **Remove unused var. emailActivityTypeIDs is retrieved twice, statusTit… ([10263](https://github.com/civicrm/civicrm-core/pull/10263))**
159
160 - **[CRM-20308](https://issues.civicrm.org/jira/browse/CRM-20308) Activity copy is always sent FROM logged in user's email ID ([10257](https://github.com/civicrm/civicrm-core/pull/10257) and [10213](https://github.com/civicrm/civicrm-core/pull/10213))**
161
162 - **Minor code tidy ups. ([10226](https://github.com/civicrm/civicrm-core/pull/10226))**
163
164 - **[CRM-20441](https://issues.civicrm.org/jira/browse/CRM-20441) Fatal error on contact summary for ACL'd user (from activity tab count) ([10251](https://github.com/civicrm/civicrm-core/pull/10251))**
165
166 - **[CRM-20453](https://issues.civicrm.org/jira/browse/CRM-20453) Fix inconsistencies in XML schema definitions ([10195](https://github.com/civicrm/civicrm-core/pull/10195))**
167
168 - **[CRM-20431](https://issues.civicrm.org/jira/browse/CRM-20431) Unsubscribe Page shows wrong group names ([10165](https://github.com/civicrm/civicrm-core/pull/10165))**
169
170 - **[CRM-20461](https://issues.civicrm.org/jira/browse/CRM-20461) post hook not invoked after updating status for additional participants ([10208](https://github.com/civicrm/civicrm-core/pull/10208))**
171
172 - **[CRM-19986](https://issues.civicrm.org/jira/browse/CRM-19986) Schema has differences when upgraded to when install in civicrm_action_schedule ([9809](https://github.com/civicrm/civicrm-core/pull/9809))**
173
174 - **[CRM-20450](https://issues.civicrm.org/jira/browse/CRM-20450) Fix invoice math for partial payments ([10224](https://github.com/civicrm/civicrm-core/pull/10224))**
175
176 - **Fixed minor template errors. ([10221](https://github.com/civicrm/civicrm-core/pull/10221))**
177
178 - **Address fatal errors on PHP7.1 - only vars can be passed by reference. ([10217](https://github.com/civicrm/civicrm-core/pull/10217))**
179
180 - **[CRM-20463](https://issues.civicrm.org/jira/browse/CRM-20463) Documentation links with "current" in them are broken ([10209](https://github.com/civicrm/civicrm-core/pull/10209))**
181
182 - **typo in error message ([181](https://github.com/civicrm/civicrm-packages/pull/181))**
183
184 ### Core CiviCRM, Internationalisation
185
186 - **[CRM-20623](https://issues.civicrm.org/jira/browse/CRM-20623) Add Column function in Upgrade Base does not properly rebuild multilingual views ([10399](https://github.com/civicrm/civicrm-core/pull/10399))**
187
188 ### Dedupe
189
190 - **[CRM-19643](https://issues.civicrm.org/jira/browse/CRM-19643) Remove unused ref to ([10272](https://github.com/civicrm/civicrm-core/pull/10272))**
191
192 ### CiviReport
193
194 - **[CRM-20558](https://issues.civicrm.org/jira/browse/CRM-20558) CiviReport: Contribution Summary - groupBy split personality issue ([10339](https://github.com/civicrm/civicrm-core/pull/10339))**
195
196 ### CiviContribute, CiviMember
197
198 - **[CRM-18177](https://issues.civicrm.org/jira/browse/CRM-18177) When Renewing an existing membership, if CC details are incorrect, Membership is set to Cancelled preventing contact from trying again ([10173](https://github.com/civicrm/civicrm-core/pull/10173))**
199
200 - **[CRM-20172](https://issues.civicrm.org/jira/browse/CRM-20172) "Separate Membership Payment" with Memberships enabled and additional contribution causes incorrect authorize.net transactions ([10167](https://github.com/civicrm/civicrm-core/pull/10167))**
201
202 ### CiviMail
203
204 - **[CRM-17754](https://issues.civicrm.org/jira/browse/CRM-17754) Include resent headers into civi bulk mail reply function ([7499](https://github.com/civicrm/civicrm-core/pull/7499))**
205
206 ### CiviCRM Profile, CiviEvent
207
208 - **[CRM-20419](https://issues.civicrm.org/jira/browse/CRM-20419) Profile selector broken on event registration (some version/CMS/browser combos) ([10331](https://github.com/civicrm/civicrm-core/pull/10331) and [10152](https://github.com/civicrm/civicrm-core/pull/10152))**
209
210 ### CiviCRM API, Extension System
211
212 - **[CRM-20532](https://issues.civicrm.org/jira/browse/CRM-20532) Extension.Get API action filtering is broken ([10322](https://github.com/civicrm/civicrm-core/pull/10322))**
213
214 ### Core CiviCRM, NYSS
215
216 - **[CRM-19876](https://issues.civicrm.org/jira/browse/CRM-19876) Civi won't send simple mails to all email recpients if some hold multiple addresses ([10321](https://github.com/civicrm/civicrm-core/pull/10321))**
217
218 ### CiviContribute
219
220 - **[CRM-20036](https://issues.civicrm.org/jira/browse/CRM-20036) Memory problem when updating a contribution without soft contributions ([10260](https://github.com/civicrm/civicrm-core/pull/10260))**
221
222 - **[CRM-20526](https://issues.civicrm.org/jira/browse/CRM-20526) recent item generated from contribution view doesn't include currency ([10307](https://github.com/civicrm/civicrm-core/pull/10307))**
223
224 - **[CRM-20527](https://issues.civicrm.org/jira/browse/CRM-20527) batch data entry does not retain currency ([10310](https://github.com/civicrm/civicrm-core/pull/10310))**
225
226 - **[CRM-20513](https://issues.civicrm.org/jira/browse/CRM-20513) Fix bugs on updating recurring contribution from CRM-17655 ([10294](https://github.com/civicrm/civicrm-core/pull/10294))**
227
228 - **[CRM-20297](https://issues.civicrm.org/jira/browse/CRM-20297) Fatal error viewing a contribution having a line item with no price field ([10012](https://github.com/civicrm/civicrm-core/pull/10012))**
229
230 - **[CRM-16460](https://issues.civicrm.org/jira/browse/CRM-16460) PayPal Standard needs two digits of cents ([10287](https://github.com/civicrm/civicrm-core/pull/10287))**
231
232 - **[CRM-20472](https://issues.civicrm.org/jira/browse/CRM-20472) Soft credit "contact" field validation errors do not display ([10233](https://github.com/civicrm/civicrm-core/pull/10233))**
233
234 - **[CRM-20469](https://issues.civicrm.org/jira/browse/CRM-20469) Currency not set correctly in ajax call from event form ([10230](https://github.com/civicrm/civicrm-core/pull/10230))**
235
236 - **[CRM-19697](https://issues.civicrm.org/jira/browse/CRM-19697) Incorrect update billing details link ([9471](https://github.com/civicrm/civicrm-core/pull/9471))**
237
238 ### Accounting Integration, CiviReport
239
240 - **[CRM-20530](https://issues.civicrm.org/jira/browse/CRM-20530) Bookkeeping transaction report fails at acct credit filter ([10313](https://github.com/civicrm/civicrm-core/pull/10313) and [10311](https://github.com/civicrm/civicrm-core/pull/10311))**
241
242 ### CiviCase
243
244 - **[CRM-20171](https://issues.civicrm.org/jira/browse/CRM-20171) Problem with xml file not loaded ([10264](https://github.com/civicrm/civicrm-core/pull/10264))**
245
246 ### CiviCRM Search
247
248 - **[CRM-19821](https://issues.civicrm.org/jira/browse/CRM-19821) Remove performance degrading joins from activity search (& api calls) ([10273](https://github.com/civicrm/civicrm-core/pull/10273))**
249
250 ### CiviContribute, CiviEvent
251
252 - **[CRM-20396](https://issues.civicrm.org/jira/browse/CRM-20396) Event participation payments not correctly recorded in financial_trxn table (frontend) ([10124](https://github.com/civicrm/civicrm-core/pull/10124))**
253
254 ## <a name="misc"></a>Miscellany
255
256
257 ## <a name="credits"></a>Credits
258
259 This release was developed by the following code authors:
260
261 AGH Strategies - Andrew Hunt; arthuralmeidap; Australian Greens - Seamus Lee; Blackfly Solutions - Alan Dixon; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku; CiviFirst - John Kirk; Coop SymbioTIC - Mathieu Lutfy; Francesc Bassas i Bullich; Fuzion - Chris Burgess, Eileen McNaughton, Jitendra Purohit; Ginkgo Street Labs - Frank Gómez; Greenleaf Advancement - Karen Stevenson; JMA Consulting - Jon Goldberg, Monish Deb, Pradeep Nayak; Joinery - Allen Shaw; kryptothesuperdog; Lemniscus - Noah Miller; Lighthouse Design and Consulting - Brian Shaughnessy; mhurwicz; Progressive Technology Project - Jamie McClelland; Saurabh Batra; Sean Madsen; Squiffle Consulting - Aidan Saunders; Tadpole Collective - Kevin Cristiano; Wikimedia Foundation - Eileen McNaughton
262
263 Most authors also reviewed code for this release; in addition, the following
264 reviewers contributed their comments:
265
266 AGH Strategies - Andrew Hunt; Agileware - Agileware Team; Andrew Cormick-Dockery; arborrow; arthuralmeidap; Australian Greens - Seamus Lee; Blackfly Solutions - Alan Dixon; British Humanist Association - Andrew West; brucew2013; cath; Circle Interactive - Dave Jenkins; CiviCoop - Erik Hommel; civicrm-builder; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku; CompuCorp - Guanhuan Chen; cwells; Dave Greenberg; devmate; dschafer; effy; Ergon Logic Enterprises - Christopher Gervais; esantanche; fen; Francesc Bassas i Bullich; Fuzion - Chris Burgess, Eileen McNaughton, Jitendra Purohit, Peter Davis; Ginkgo Street Labs - Frank Gómez; Greenleaf Advancement - Karen Stevenson; ineffyble; jchester; JMA Consulting - Edsel Lopez, Joe Murray, Jon Goldberg, Monish Deb, Pradeep Nayak; joannechester; johanv; Johan Vervloet; johnff; John Kingsnorth; Joinery - Allen Shaw; Korlon - Stuart Gaston; kreynen; krypto; Leanwebstart; Lighthouse Design and Consulting - Brian Shaughnessy; loganbear; Marc Brazeau; Mathieu; MC3 - Graham Mitchell; mfb; MJW Consulting - Matthew Wire; nathan_b; nielo; nocabt; pcorbett; Progressive Technology Project - Jamie McClelland; rares; Richard van Oosterhout; robbrandt; samuelsov; saurabh.batra; Saurabh Batra; Sean Madsen; Semper IT - Karin Gerritsen; Squiffle Consulting - Aidan Saunders; Tadpole Collective - Kevin Cristiano; Third Sector Design - Michael McAndrew; thirdsun; tom.m; Web Access - Kurund Jalmi; website@dght.uk; Wikimedia Foundation - Eileen McNaughton