Bugzilla – Attachment 188032 Details for
Bug 41020
Add ability to use file transports for marc ordering accounts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41020: Update FTP.pm _abort_operation prototype to match SFTP.pm
Bug-41020-Update-FTPpm-abortoperation-prototype-to.patch (text/plain), 1.60 KB, created by
Kyle M Hall (khall)
on 2025-10-16 19:26:06 UTC
(
hide
)
Description:
Bug 41020: Update FTP.pm _abort_operation prototype to match SFTP.pm
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2025-10-16 19:26:06 UTC
Size:
1.60 KB
patch
obsolete
>From 3669c8e42b2f5d7da9b41343bbd15b1467322b74 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 16 Oct 2025 10:19:38 -0400 >Subject: [PATCH] Bug 41020: Update FTP.pm _abort_operation prototype to match > SFTP.pm > >Signed-off-by: John Doe <you@example.com> >--- > Koha/File/Transport/FTP.pm | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/Koha/File/Transport/FTP.pm b/Koha/File/Transport/FTP.pm >index cce88f5b3a7..47672ea7398 100644 >--- a/Koha/File/Transport/FTP.pm >+++ b/Koha/File/Transport/FTP.pm >@@ -165,7 +165,7 @@ sub change_directory { > my ( $self, $remote_directory ) = @_; > my $operation = "change_directory"; > >- $self->{connection}->cwd($remote_directory) or return $self->_abort_operation($operation); >+ $self->{connection}->cwd($remote_directory) or return $self->_abort_operation( $operation, $remote_directory ); > > $self->add_message( > { >@@ -288,7 +288,7 @@ sub _is_connected { > } > > sub _abort_operation { >- my ( $self, $operation ) = @_; >+ my ( $self, $operation, $path ) = @_; > > $self->add_message( > { >@@ -296,7 +296,8 @@ sub _abort_operation { > type => 'error', > payload => { > detail => $self->{connection} ? $self->{connection}->status : '', >- error => $self->{connection} ? $self->{connection}->message : $@ >+ error => $self->{connection} ? $self->{connection}->message : $@, >+ path => $path ? $path : $self->{connection}->pwd, > } > } > ); >-- >2.39.5 (Apple Git-154)
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 41020
:
187931
|
187932
|
187933
|
187934
|
187935
|
187936
|
187937
|
187938
|
187939
|
187940
|
187941
|
187942
|
188012
|
188013
|
188014
|
188015
|
188016
|
188017
|
188018
|
188030
|
188031
| 188032 |
188033
|
188034