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

            Bug ID: 36958
           Summary: Internal server error when importing MARC file with
                    bad encoding into an order
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: MARC Bibliographic record staging/import
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Created attachment 167168
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167168&action=edit
Test record in MARC 8 with an encoding error (uses extended character set for
Simplified Chinese characters)

To reproduce:
1. Go to Cataloguing > Stage Records for Import
2. Upload the attached example file, which is encoded in MARC 8
3. Select the correct encoding and stage the file for import
4. Find or create an open basket in the Acquisitions module
5. Click Add to basket
6. Select From a staged file
7. Select the file that was just staged
--> Page crashes with Internal Server Error (or a stack trace if you're testing
in KTD)

On the other hand, if you return to Cataloguing > Manage Staged Records and
import the staged file from there, the import completes and the records are
added to the catalog. The badly encoded biblio records can still be viewed (and
the biblio detail page displays a warning about the bad encoding).

Not sure if it makes sense to allow addorderiso2709.pl to simply import the bad
record anyway like manage-marc-import.pl does, or if that would break something
else in the ordering process. At the very least it should display an error
message instead of crashing.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to