[freeside-commits] branch master updated. fad1695f2df61d3fadc5d6fc85527e09d083bf20

Ivan Kohler ivan at freeside.biz
Tue Oct 23 17:12:59 PDT 2018


The branch, master has been updated
       via  fad1695f2df61d3fadc5d6fc85527e09d083bf20 (commit)
      from  15bce35bccac95bdc7649743787cf890d8790943 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fad1695f2df61d3fadc5d6fc85527e09d083bf20
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Oct 23 17:12:55 2018 -0700

    fix upgrade: clear bad cust_refund.source_paynum before encrypting, RT#81508

diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm
index b47752de2..8e6a1f132 100644
--- a/FS/FS/Upgrade.pm
+++ b/FS/FS/Upgrade.pm
@@ -373,7 +373,7 @@ sub upgrade_data {
   tie my %hash, 'Tie::IxHash', 
 
     #remap log levels
-	'log' => [],
+    'log' => [],
 
     #fix whitespace - before cust_main
     'cust_location' => [],
@@ -382,6 +382,9 @@ sub upgrade_data {
     # blocks tokenization upgrade if deprecated features still in use
     'agent_payment_gateway' => [],
 
+    #remove bad source_paynum before cust_main
+    'cust_refund' => [],
+
     #cust_main (tokenizes cards, remove paycvv from history, locations, cust_payby, etc)
     # (handles payinfo encryption/tokenization across all relevant tables)
     'cust_main' => [],
@@ -451,7 +454,7 @@ sub upgrade_data {
     'cust_pkg' => [],
     #'cust_pkg_reason' => [],
     'cust_pkg_discount' => [],
-    'cust_refund' => [],
+    #'cust_refund' => [],
     'banned_pay' => [],
 
     #paycardtype

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Upgrade.pm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list