[Koha-bugs] [Bug 20695] New: Upload does not show all results when uploading multiple files

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 2 14:50:03 CEST 2018


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

            Bug ID: 20695
           Summary: Upload does not show all results when uploading
                    multiple files
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org

In the migration from routine get in Uploader.pm to Koha::UploadedFiles, the
multiple upload result got hurt. If you upload 3 files, you get 1 result, but
all files have been uploaded.

E.g. 16.11 contains the statement in tools/upload.pl:
my @uploads = Koha::Upload->new($upar)->get($h);
And this worked for multiple uploads.
But master now has:
my $rec = Koha::UploadedFiles->find( $id );
And that works for just one upload.

The fix is simple.

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


More information about the Koha-bugs mailing list