Bugzilla – Attachment 87662 Details for
Bug 21953
Term "Lost item" is untranslatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21953: (QA follow-up) Corrections to DB Update
Bug-21953-QA-follow-up-Corrections-to-DB-Update.patch (text/plain), 1.60 KB, created by
Katrin Fischer
on 2019-04-09 18:33:47 UTC
(
hide
)
Description:
Bug 21953: (QA follow-up) Corrections to DB Update
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-04-09 18:33:47 UTC
Size:
1.60 KB
patch
obsolete
>From 290cdc08d1fd87c67e7173e9c3d481bdf18300eb Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 9 Apr 2019 12:00:16 +0100 >Subject: [PATCH] Bug 21953: (QA follow-up) Corrections to DB Update > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > installer/data/mysql/atomicupdate/bug_21953.perl | 6 ++++++ > installer/data/mysql/atomicupdate/bug_21953.sql | 1 - > 2 files changed, 6 insertions(+), 1 deletion(-) > create mode 100644 installer/data/mysql/atomicupdate/bug_21953.perl > delete mode 100644 installer/data/mysql/atomicupdate/bug_21953.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_21953.perl b/installer/data/mysql/atomicupdate/bug_21953.perl >new file mode 100644 >index 0000000000..8f97520150 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_21953.perl >@@ -0,0 +1,6 @@ >+$DBversion = 'XXX'; # will be replaced by the RM >+if ( CheckVersion($DBversion) ) { >+ $dbh->do("UPDATE accountlines SET description = REPLACE(description, 'Lost Item ', '') WHERE description LIKE 'Lost Item %'"); >+ SetVersion($DBversion); >+ print "Upgrade to $DBversion done (Bug 21953 - Remove 'Lost Item' text from accountlines description)\n"; >+} >diff --git a/installer/data/mysql/atomicupdate/bug_21953.sql b/installer/data/mysql/atomicupdate/bug_21953.sql >deleted file mode 100644 >index 8a18635bd6..0000000000 >--- a/installer/data/mysql/atomicupdate/bug_21953.sql >+++ /dev/null >@@ -1 +0,0 @@ >-UPDATE accountlines SET description=REGEXP_REPLACE(description, '^Lost Item ', '') WHERE accounttype="PF"; >-- >2.11.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 21953
:
82872
|
83433
|
83439
|
86209
|
86210
|
86211
|
86405
|
86406
|
86418
|
87593
|
87594
|
87595
|
87596
|
87597
|
87599
|
87600
|
87601
|
87602
|
87603
|
87659
|
87660
|
87661
|
87662
|
87663
|
87782
|
87783
|
87784
|
87785
|
87786