fixed several ems badge related bugs. a couple upgrade bugs for ems and transaction. and jury rigged a fix for recurring transaction postback.
This commit is contained in:
parent
f482c079d7
commit
75208339fc
4 changed files with 51 additions and 177 deletions
|
|
@ -5,6 +5,8 @@
|
|||
- fixed: Syndicated Content asset makes template engine choke
|
||||
- fixed: Security issue in CS RSS feeds
|
||||
- fixed: Asset Manager breaks when an asset is locked
|
||||
- fixed: EMS - Data error when trying to list badges
|
||||
- fixed: EMS - Not able to refund tickets
|
||||
- fixed: Asset Manager is slow to load
|
||||
- fixed: project management application unable to add or edit tasks.
|
||||
- fixed: dashboard not working due to using legacy ajax handlers
|
||||
|
|
@ -12,6 +14,7 @@
|
|||
- fixed: Asset Manager can now change ranks again
|
||||
- fixed: Cannot manage revisions in version tags.
|
||||
|
||||
|
||||
7.5.12
|
||||
- skipping this release
|
||||
|
||||
|
|
|
|||
|
|
@ -28,21 +28,25 @@ my $quiet; # this line required
|
|||
|
||||
my $session = start(); # this line required
|
||||
|
||||
fixShop($session);
|
||||
addSelectableProfileTemplates($session);
|
||||
# upgrade functions go here
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Describe what our function does
|
||||
#sub exampleFunction {
|
||||
# my $session = shift;
|
||||
# print "\tWe're doing some stuff here that you should know about... " unless $quiet;
|
||||
# # and here's our code
|
||||
# print "DONE!\n" unless $quiet;
|
||||
#}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub fixShop {
|
||||
my $session = shift;
|
||||
print "\tFixing Shop properties" unless $quiet;
|
||||
my $db = $session->db;
|
||||
$db->write("update EventManagementSystem set registrationStaffGroupId='3' where registrationStaffGroupId=''");
|
||||
my ($driverId) = $db->quickScalar("select paymentGatewayId from paymentGateway where className='WebGUI::Shop::PayDriver::ITransact'");
|
||||
$db->write("update transaction set paymentDriverId=?",[$driverId]);
|
||||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub addSelectableProfileTemplates {
|
||||
my $session = shift;
|
||||
my $tmpl = $session->setting->get('viewUserProfileTemplate') || 'PBtmpl0000000000000052';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue