Hi Isomorphic,
similar to here there is a problem with a default deferRemoval: null using current v12.0p_2019-12-14.
The records marked as removed are transferred nevertheless. Steps to reproduce:
Best regards
Blama
similar to here there is a problem with a default deferRemoval: null using current v12.0p_2019-12-14.
The records marked as removed are transferred nevertheless. Steps to reproduce:
- Switch to mode "Retain"
- Upload file (4 good records, 3 validation errors)
- Remove all records, leave only one without validation error
- Commit
- Expected result: 1 Add-operation, other records removed or present and still in deferRemoval-state
- Actual result: 4 Add operations for records w/o + validation error plus 3 with validation errors in grid in normal state
Code:
isc.BatchUploader.create({
ID:"uploader",
height: 700,
width: "100%",
uploadDataSource: supplyItemCustom,
uploadFormProperties: {
titleWidth: 110
},
gridProperties: {
height: 400,
canRemoveRecords: true
}
});
isc.DynamicForm.create({
ID: "partialCommitsForm",
items: [
{
name:"partialCommits",
wrapTitle: false,
title:"Partial Commit Mode",
type:"select",
defaultValue: "prompt",
valueMap:{
allow: "Allow",
prevent: "Prevent",
prompt: "Prompt",
retain: "Retain"
},
changed : function(form, item, value) {
uploader.partialCommit = value;
}
}
]
});
isc.VStack.create({
width:"100%",
layoutMargin:10,
membersMargin: 10,
members:[
partialCommitsForm,
uploader
]
});
Blama
Comment