[Koha-bugs] [Bug 20727] Replace usage of File::Spec->tmpdir with C4::Context->temporary_directory

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 8 17:36:33 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20727

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #75667|0                           |1
        is obsolete|                            |
  Attachment #75668|0                           |1
        is obsolete|                            |
  Attachment #75669|0                           |1
        is obsolete|                            |
  Attachment #75670|0                           |1
        is obsolete|                            |
  Attachment #75833|0                           |1
        is obsolete|                            |
  Attachment #75835|0                           |1
        is obsolete|                            |

--- Comment #17 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 75923
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75923&action=edit
Bug 20727: Replace usage of File::Spec->tmpdir with
Koha::UploadedFile->temporary_directory

As explained in bug 20428 use tmpdir can cause issues and it just makes sense
to standardize our temp directory in a universal way.

Test Plan:
1) Apply this patch
2) Verify you can still log in and use Koha
3) Verify the web installer still works
4) Verify EDI module can still download files via FTP
5) Verify fines.pl still runs with -o option
6) prove t/db_dependent/Plugins.t
7) prove t/db_dependent/Sitemapper.t
8) prove t/db_dependent/Templates.t

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list