Bugzilla – Attachment 18539 Details for
Bug 10326
bulkmarcimport.pl turns off CataloguingLog sys pref
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10326: bulkmarcimport.pl doesn't restore value of CataloguingLog syspref
Bug-10326-bulkmarcimportpl-doesnt-restore-value-of.patch (text/plain), 1.15 KB, created by
Jonathan Druart
on 2013-05-31 08:13:19 UTC
(
hide
)
Description:
Bug 10326: bulkmarcimport.pl doesn't restore value of CataloguingLog syspref
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-05-31 08:13:19 UTC
Size:
1.15 KB
patch
obsolete
>From b52d2692a08cefde65cf6e94ea1956c7357a1f57 Mon Sep 17 00:00:00 2001 >From: Janusz Kaczmarek <januszop@gmail.com> >Date: Fri, 24 May 2013 14:21:36 +0300 >Subject: [PATCH] Bug 10326: bulkmarcimport.pl doesn't restore value of > CataloguingLog syspref > >To test: > >0) Don't apply the patch yet. >1) Have the CataloguingLog system preference set to 'Log'. >2) Import a file of bibliographic records with bulkmarcimport.pl. >3) Check the state of CataloguingLog system preference -- it will be > set to 'Don't log'. >4) Apply the patch. >5) Repeat steps 1-3. The CataloguingLog system preference > will be 'Log'. > >Signed-off-by: Galen Charlton <gmc@esilibrary.com> >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > misc/migration_tools/bulkmarcimport.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/migration_tools/bulkmarcimport.pl b/misc/migration_tools/bulkmarcimport.pl >index 113aaf2..9ca7b31 100755 >--- a/misc/migration_tools/bulkmarcimport.pl >+++ b/misc/migration_tools/bulkmarcimport.pl >@@ -460,7 +460,7 @@ RECORD: while ( ) { > last if $i == $number; > } > $dbh->commit(); >- >+$dbh->{AutoCommit} = 1; > > > if ($fk_off) { >-- >1.7.10.4
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 10326
:
18375
|
18533
| 18539