Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## 2025-mm-dd 5.11.0-SNAPSHOT
* [MODSOURCE-917](https://folio-org.atlassian.net/browse/MODSOURCE-917) "Numerics only" option of existing record section does not work during MARC-BIB to MARC-BIB matching
* [MODSOURCE-941](https://folio-org.atlassian.net/browse/MODSOURCE-941) Remove relatedRecordVersion from parsedRecordDto and add generation field to source record

## 2025-03-13 5.10.0
* [MODSOURMAN-1278](https://folio-org.atlassian.net/browse/MODSOURMAN-1278) Data import job stuck in progress with 99-100%
Expand Down
2 changes: 1 addition & 1 deletion descriptors/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
},
{
"id": "source-storage-source-records",
"version": "3.2",
"version": "3.3",
"handlers": [
{
"methods": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,8 @@ public static SourceRecord toSourceRecord(Row row) {
public static SourceRecord toSourceRecord(Record record) {
SourceRecord sourceRecord = new SourceRecord()
.withRecordId(record.getMatchedId())
.withSnapshotId(record.getSnapshotId());
.withSnapshotId(record.getSnapshotId())
.withGeneration(record.getGeneration());
if (Objects.nonNull(record.getRecordType())) {
sourceRecord.withRecordType(SourceRecord.RecordType.valueOf(record.getRecordType().toString()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ public void shouldUpdateParsedRecordAndSendRecordUpdatedEvent(TestContext contex
.withId(record.getMatchedId())
.withParsedRecord(new ParsedRecord()
.withContent(UPDATED_PARSED_RECORD_CONTENT))
.withRelatedRecordVersion("1")
.withRecordType(ParsedRecordDto.RecordType.MARC_BIB);

var payload = new HashMap<String, String>();
Expand Down