Summary: | invalid marcxml records with leading whitespaces can be staged, but can't be imported into a catalog | ||
---|---|---|---|
Product: | Koha | Reporter: | Jaden Furtado <furtadojaden> |
Component: | MARC Bibliographic record staging/import | Assignee: | Bugs List <koha-bugs> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | dcook |
Version: | 24.11 | ||
Hardware: | All | ||
OS: | Linux | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Attachments: | Invalid marcxml that can be staged for imports but which crashes when attempted to be imported into a catalog |
Description
Jaden Furtado
2025-04-12 21:21:48 UTC
Thanks for reporting this one, Jaden. Thanks again for reporting this one, Jaden. However, I think that you might be mistaken. The leading whitespace shouldn't be an issue. Using the MARCXML you've provided, I can reproduce an import error on my local test system, because the branchcode in 952$a and 952$b don't match a branch in my system. I see that error in /var/log/koha/kohadev/worker-output.log. Once I update those to an existing branchcode, I can import the record and the item fine. The item will cause some continued problems because the 952$y item type also doesn't exist in my system, but once I update that, things go well. That all said... as you point out, the UI doesn't give you any useful information why that failed, and that's definitely a problem. Marking this report as a duplicate of one I raised a couple of years ago on the same topic. I'm probably not going to work on it any time soon, as in practice when my own customers have issues I am able to read the logs and give them assistance. But it would be great for someone to fix this at some point to help the people who can't rely on a sysadmin with Koha knowledge. *** This bug has been marked as a duplicate of bug 32638 *** |