fixed replicator for oracle

This commit is contained in:
Jan Prochazka
2025-04-23 15:54:02 +02:00
parent ebcf88070c
commit 5278861ccd
3 changed files with 5 additions and 3 deletions

View File

@@ -130,7 +130,8 @@ class ReplicatorItemHolder {
const ref = this.refByColumn[key];
if (ref) {
// remap id
res[key] = ref.ref.idMap[res[key]];
const oldId = res[key];
res[key] = ref.ref.idMap[oldId];
if (ref.isMandatory && res[key] == null) {
// mandatory refertence not matched
if (this.replicator.options.skipRowsWithUnresolvedRefs) {