Do not manage associations on records w/ errors

This commit is contained in:
2023-07-05 08:46:27 -05:00
parent b75fd29a57
commit 9167f356e9
2 changed files with 45 additions and 0 deletions

View File

@ -374,6 +374,11 @@ public class UpdateAction
//////////////////////////////////////////////////////
for(QRecord record : page)
{
if(CollectionUtils.nullSafeHasContents(record.getErrors()))
{
continue;
}
if(record.getAssociatedRecords() != null && record.getAssociatedRecords().containsKey(association.getName()))
{
///////////////////////////////////////////////////////////////////////////////////////////////////////////////