X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2FUpgrade.pm;h=aebfc29c7c0be8de7b8bd58a58991977c4543c04;hp=5be33fa599587fa48b2912c75e9738a1851e1d49;hb=2a9d2460814b37e07d7cb83392723146a60d34c7;hpb=e928101f860813b7485e79ea549e736f69c50948 diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index 5be33fa59..aebfc29c7 100644 --- a/FS/FS/Upgrade.pm +++ b/FS/FS/Upgrade.pm @@ -338,7 +338,10 @@ sub upgrade { }); foreach my $object ( @objects ) { my $payinfo = $object->decrypt($object->payinfo); - die "error decrypting payinfo" if $payinfo eq $object->payinfo; + if ( $payinfo eq $object->payinfo ) { + warn "error decrypting payinfo for $table: $payinfo\n"; + next; + } $object->payinfo($payinfo); my $error = $object->replace; die $error if $error; @@ -504,6 +507,20 @@ sub upgrade_data { #upgrade part_event_condition_option agentnum to a multiple hash value 'part_event_condition_option' =>[], + + #fix ip format + 'svc_circuit' => [], + + #fix ip format + 'svc_hardware' => [], + + #fix ip format + 'svc_pbx' => [], + + #fix ip format + 'tower_sector' => [], + + ; \%hash; @@ -714,4 +731,3 @@ Sure. =cut 1; -