Bugzilla – Attachment 37144 Details for
Bug 13380
Auto fill order cancellation reasons from authorised values
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13380: 3.18.x Fix previous DB entry
Bug-13380-318x-Fix-previous-DB-entry.patch (text/plain), 1.28 KB, created by
Jonathan Druart
on 2015-03-23 16:03:43 UTC
(
hide
)
Description:
Bug 13380: 3.18.x Fix previous DB entry
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-03-23 16:03:43 UTC
Size:
1.28 KB
patch
obsolete
>From 230810cb9ea57fa332d26cbdab7bdf92c5c2fb51 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 23 Mar 2015 17:01:53 +0100 >Subject: [PATCH] Bug 13380: 3.18.x Fix previous DB entry > >The DB entry from bug 13379 should have been executed before bug 13380. > >The AV category now contain truncated values. > >This patch restores the correct category values. >The DB entry from bug 13379 should have been pushed before. >--- > installer/data/mysql/updatedatabase.pl | 10 ++++++++++ > 1 file changed, 10 insertions(+) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 0523139..8218bab 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -9731,6 +9731,16 @@ if ( CheckVersion($DBversion) ) { > SetVersion($DBversion); > } > >+# IMPORTANT >+# Here should be DB entry from 13379 >+ >+$DBversion = "3.18.05.001"; >+if(CheckVersion($DBversion)) { >+ $dbh->do(q{UPDATE authorised_values SET category='ORDER_CANCELLATION_REASON' WHERE category='ORDER_CANCELLATI'}); >+ print "Upgrade to $DBversion done (Bug 13380: Fix the authorised value categories if truncated with previous DB update (3.18.04.002))\n"; >+ SetVersion($DBversion); >+} >+ > =head1 FUNCTIONS > > =head2 TableExists($table) >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13380
:
34090
|
34091
|
34140
|
34746
|
34747
|
35695
|
35696
|
35767
|
35768
|
35773
|
37144
|
37163
|
37179
|
37363