Details
-
Type: Bug
-
Status: To Backport
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.9
-
Fix Version/s: 4.6
-
Component/s: CiviContribute
-
Labels:None
-
Documentation Required?:None
Description
There are fixed constants in code referring to autoincrement columns.
Should not be an issue at 99% people, but those, who have non-standart setup for autoincrement fields (like only odd numbers - because of e.g. load-balance DB clusters) it won't work.
In particular:
\CRM\Core\Payment\BaseIPN.php - see attached diff (my version is from 4.3.9)
\templates\CRM\Admin\Page\PaymentProcessor.tpl
- fixed value pp=2 in crmURL-s (e.g.
{crmURL q="action=add&reset=1&pp=2"}
. In my instance I need the value "3".
In Attachment is diff for BaseIPN.php, where I have fixed this using CRM_Member_PseudoConstant::membershipStatus() and array_search.