Bug 38690

Summary: NormalizeISBN assumes ISBN-10 format and discards ISBN-13 format
Product: Koha Reporter: Olli-Antti Kivilahti <olli-antti.kivilahti>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on:    
Bug Blocks: 38691    
Attachments: Bug 38690 - NormalizeISBN assumes ISBN-10 format and discards ISBN-13 format

Description Olli-Antti Kivilahti 2024-12-12 15:51:08 UTC
TEST PLAN:

1. Enable feature 'FRBRizeEditions' or 'OPACFRBRizeEditions'
2. Catalog three different editions of the same book with the same ISBN-13.
3. Look at the editions-tab in the biblio's detail-page. There is no editions-tab.

APPLY THIS PATCH:

3. Look at the editions-tab in the detail-page. There is a editions-tab, with only one record there.
Comment 1 Olli-Antti Kivilahti 2024-12-12 16:01:28 UTC
Created attachment 175410 [details] [review]
Bug 38690 - NormalizeISBN assumes ISBN-10 format and discards ISBN-13 format

While working to understand the 'FRBRizeEditions'-feature, I discovered that
the feature doesn't work with ISBN-13 format, and silently discards those.
Only ISBN-10 works due to this hard-coded constraint.
Comment 2 Olli-Antti Kivilahti 2024-12-12 16:02:23 UTC
The initial test plan does not work.