Skip to content

Commit

Permalink
Only load Sierra Export Mappings for the III indexing class
Browse files Browse the repository at this point in the history
  • Loading branch information
mdnoble73 committed May 20, 2024
1 parent cd02994 commit d8911e2
Show file tree
Hide file tree
Showing 22 changed files with 7 additions and 5 deletions.
Binary file modified code/axis_360_export/axis_360_export.jar
Binary file not shown.
Binary file modified code/carlx_export/carlx_export.jar
Binary file not shown.
Binary file modified code/cloud_library_export/cloud_library_export.jar
Binary file not shown.
Binary file modified code/course_reserves_indexer/course_reserves_indexer.jar
Binary file not shown.
Binary file modified code/cron/cron.jar
Binary file not shown.
Binary file modified code/events_indexer/events_indexer.jar
Binary file not shown.
Binary file modified code/evergreen_export/evergreen_export.jar
Binary file not shown.
Binary file modified code/evolve_export/evolve_export.jar
Binary file not shown.
Binary file modified code/hoopla_export/hoopla_export.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -317,11 +317,12 @@ public IndexingProfile(String serverName, ResultSet indexingProfileRS, Connectio
this.numMillisecondsToPauseAfterBibLookups = indexingProfileRS.getInt("numMillisecondsToPauseAfterBibLookups");
this.numExtractionThreads = indexingProfileRS.getInt("numExtractionThreads");

//TODO, this could be optimized to only load for Sierra instances
try {
sierraExportFieldMappings = SierraExportFieldMapping.loadSierraFieldMappings(dbConn, indexingProfileRS.getLong("id"), logEntry);
}catch (Exception e){
logEntry.incErrors("Unable to load Sierra Export Mappings", e);
if (this.indexingClass.equals("III")) {
try {
sierraExportFieldMappings = SierraExportFieldMapping.loadSierraFieldMappings(dbConn, indexingProfileRS.getLong("id"), logEntry);
} catch (Exception e) {
logEntry.incErrors("Unable to load Sierra Export Mappings", e);
}
}

loadTranslationMaps(dbConn, logEntry);
Expand Down
Binary file modified code/koha_export/koha_export.jar
Binary file not shown.
Binary file modified code/oai_indexer/oai_indexer.jar
Binary file not shown.
Binary file modified code/overdrive_extract/overdrive_extract.jar
Binary file not shown.
Binary file modified code/palace_project_export/palace_project_export.jar
Binary file not shown.
Binary file modified code/polaris_export/polaris_export.jar
Binary file not shown.
Binary file modified code/reindexer/reindexer.jar
Binary file not shown.
Binary file modified code/sideload_processing/sideload_processing.jar
Binary file not shown.
Binary file modified code/sierra_export_api/sierra_export_api.jar
Binary file not shown.
Binary file modified code/symphony_export/symphony_export.jar
Binary file not shown.
Binary file modified code/user_list_indexer/user_list_indexer.jar
Binary file not shown.
1 change: 1 addition & 0 deletions code/web/release_notes/24.05.01.MD
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Load all default formats prior to loading custom format map for an indexing profile to ensure default values are available when translating values. (Ticket 132034) (*MDN*)
- Add Manga to default format maps. (*MDN*)
- Add a check for null values when checking if a translation map has a value. (*MDN*)
- Only load Sierra Export Mappings for the III indexing class. (*MDN*)

### Koha Updates
- Allow determination of format to take into account both Collection Code and the translated Collection. (Tickets 132079, 130358) (*MDN*)
Expand Down
Binary file modified code/web_indexer/web_indexer.jar
Binary file not shown.

0 comments on commit d8911e2

Please sign in to comment.