fixed transactions lost during 7.5.11 upgrade
This commit is contained in:
parent
823c0af44f
commit
44a036e095
3 changed files with 5 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
7.5.16
|
7.5.16
|
||||||
- Created a migration from 7.4.40 directly to 7.5.16.
|
- Created a migration from 7.4.40 directly to 7.5.16.
|
||||||
|
- fixed: transactions lost during 7.5.11 upgrade
|
||||||
- fixed: More permissive DSN checking to allow use of SQLite (thanks pathma)
|
- fixed: More permissive DSN checking to allow use of SQLite (thanks pathma)
|
||||||
- fixed: Project manager modal dialog doesn't work in some instances.
|
- fixed: Project manager modal dialog doesn't work in some instances.
|
||||||
- fixed: Syndicated Content doesn't always decode text properly
|
- fixed: Syndicated Content doesn't always decode text properly
|
||||||
|
|
|
||||||
|
|
@ -942,6 +942,7 @@ sub convertTransactionLog {
|
||||||
$status = 'NotShipped' if $status eq 'NotSent';
|
$status = 'NotShipped' if $status eq 'NotSent';
|
||||||
$db->setRow("transactionItem","itemId",{
|
$db->setRow("transactionItem","itemId",{
|
||||||
itemId => "new",
|
itemId => "new",
|
||||||
|
assetId => $oldItem->{itemId},
|
||||||
transactionId => $oldItem->{transactionId},
|
transactionId => $oldItem->{transactionId},
|
||||||
configuredTitle => $oldItem->{itemName},
|
configuredTitle => $oldItem->{itemName},
|
||||||
options => '{}',
|
options => '{}',
|
||||||
|
|
@ -951,7 +952,7 @@ sub convertTransactionLog {
|
||||||
quantity => $oldItem->{quantity},
|
quantity => $oldItem->{quantity},
|
||||||
price => $oldItem->{amount},
|
price => $oldItem->{amount},
|
||||||
vendorId => "defaultvendor000000000",
|
vendorId => "defaultvendor000000000",
|
||||||
}, $oldItem->{itemId});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
my $driverId = $db->quickScalar("select paymentGatewayId from paymentGateway where className='WebGUI::Shop::PayDriver::ITransact'");
|
my $driverId = $db->quickScalar("select paymentGatewayId from paymentGateway where className='WebGUI::Shop::PayDriver::ITransact'");
|
||||||
|
|
|
||||||
|
|
@ -829,6 +829,7 @@ sub convertTransactionLog {
|
||||||
$status = 'NotShipped' if $status eq 'NotSent';
|
$status = 'NotShipped' if $status eq 'NotSent';
|
||||||
$db->setRow("transactionItem","itemId",{
|
$db->setRow("transactionItem","itemId",{
|
||||||
itemId => "new",
|
itemId => "new",
|
||||||
|
assetId => $oldItem->{itemId},
|
||||||
transactionId => $oldItem->{transactionId},
|
transactionId => $oldItem->{transactionId},
|
||||||
configuredTitle => $oldItem->{itemName},
|
configuredTitle => $oldItem->{itemName},
|
||||||
options => '{}',
|
options => '{}',
|
||||||
|
|
@ -838,7 +839,7 @@ sub convertTransactionLog {
|
||||||
quantity => $oldItem->{quantity},
|
quantity => $oldItem->{quantity},
|
||||||
price => $oldItem->{amount},
|
price => $oldItem->{amount},
|
||||||
vendorId => "defaultvendor000000000",
|
vendorId => "defaultvendor000000000",
|
||||||
}, $oldItem->{itemId});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$db->write("drop table oldtransaction");
|
$db->write("drop table oldtransaction");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue