Bugzilla – Attachment 103001 Details for
Bug 24131
Improved formatting for output of updatedatabase
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24131: Prevent the first description to be displayed twice
Bug-24131-Prevent-the-first-description-to-be-disp.patch (text/plain), 1.58 KB, created by
Jonathan Druart
on 2020-04-15 13:18:12 UTC
(
hide
)
Description:
Bug 24131: Prevent the first description to be displayed twice
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-04-15 13:18:12 UTC
Size:
1.58 KB
patch
obsolete
>From 99a958531b700737236ed609d438de962a1a8532 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 15 Apr 2020 15:17:11 +0200 >Subject: [PATCH] Bug 24131: Prevent the first description to be displayed > twice > >If there are several lines to display, the first one was displayed >twice: >Upgrade to 19.12.00.071 done [13:10:22]: Bug 22887 - Add unique constraint to authorised_values > - Add unique constraint to authorised_values > - WARNING - Cannot create unique constraint on authorised_value(category, authorised_value) > - The following entries are duplicated: COUNTRY:aaa (2) >--- > installer/data/mysql/updatedatabase.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 4590eadc01..e8752fde7a 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -21703,8 +21703,9 @@ sub NewVersion { > } else { > say sprintf "Upgrade to %s done [%s]: Bug %5s - %s", $DBversion, $time, $bug_number, $description; > } >+ } else { >+ say sprintf "\t\t\t\t\t\t - %s", $description; > } >- say sprintf "\t\t\t\t\t\t - %s", $description; > } else { > unless ( $bug_number ) { > say sprintf "Upgrade to %s done [%s]: %s", $DBversion, $time, $description; >-- >2.20.1
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 24131
:
98536
|
98537
|
99315
|
99316
|
99317
|
99521
|
99522
|
99523
|
99524
|
100161
|
100162
|
100163
|
100164
|
100464
|
100465
|
100466
|
100467
|
100468
|
100530
|
100531
|
100532
|
100533
|
100534
|
100535
|
100536
|
100538
|
101155
|
101159
|
101160
|
101162
|
101164
|
101166
|
101168
|
101187
| 103001