Bugzilla – Attachment 144422 Details for
Bug 32356
xx-XX installer dir /kohadevbox/koha/installer/data/mysql/xx-XX already exists.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32356: Install installer translated files on update
Bug-32356-Install-installer-translated-files-on-up.patch (text/plain), 1.48 KB, created by
Katrin Fischer
on 2022-12-04 13:08:34 UTC
(
hide
)
Description:
Bug 32356: Install installer translated files on update
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-12-04 13:08:34 UTC
Size:
1.48 KB
patch
obsolete
>From c5c0b5313b1f4b4844190e4978df9c88238ba9e0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 29 Nov 2022 10:22:10 +0100 >Subject: [PATCH] Bug 32356: Install installer translated files on update > >If the installer files exist for a given language, the translate script >won't update it. >We should get a confirmation from Bernardo (author of bug 24262), but I >don't understand why it could be needed (side-effects?) > >Test plan: >Installer several times the same language, drop the DB and run the >installer+onboarding process. >Check files installed by the installer (yaml for notice templates, >biblio frameworks) have inserted the data properly in DB. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > misc/translator/LangInstaller.pm | 4 ---- > 1 file changed, 4 deletions(-) > >diff --git a/misc/translator/LangInstaller.pm b/misc/translator/LangInstaller.pm >index 7ba313ecaa..8a990e334f 100644 >--- a/misc/translator/LangInstaller.pm >+++ b/misc/translator/LangInstaller.pm >@@ -376,10 +376,6 @@ sub install_installer { > my $intradir = C4::Context->config('intranetdir'); > my $db_scheme = C4::Context->config('db_scheme'); > my $langdir = "$intradir/installer/data/$db_scheme/$self->{lang}"; >- if ( -d $langdir ) { >- say "$self->{lang} installer dir $langdir already exists.\nDelete it if you want to recreate it." if $self->{verbose}; >- return; >- } > > say "Install installer files\n" if $self->{verbose}; > >-- >2.30.2
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 32356
:
144311
|
144418
|
144422
|
146426