Skip to main content

We have a skuid table base on model Processes (model of custom object Process__c). And we have row action of type popup on process records which has 3 tabs, first tab has field editor (based on Processes model) to edit process records; second tab contains table based on ProcessSteps model (model based on Process_Step__c object which is junction object between Process__c and Step__c). The table on this second tab captures process steps for the process record in context. Process_Step__c has unique field (External Id field) Code__c (labelled Process Step Code). While trying to add Process Step records with unique code (good data) it works well. While trying to add Process Step records with one record having duplicate code it gives validation error saying ’ Duplicate value on record: (Related field: Code)’ which is expected. However if you add multiple process step records with duplicate Code__c value it does not throw validation error but keeps idling. Looking at console on gives an Javascript error which I have attached below.


One record having duplicate code



Multiple records having duplicate code



data object seen on above screen shot after formatting us json formatter


{      "rollbackOnAnyError":true,
"operations":n
{
"id":"ProcessSteps",
"changes":{
"2":{
"pfdev1\_\_Process\_\_c":"a0O9000000HkSpAEAV",
"pfdev1\_\_Step\_\_c":"a0a9000000H5DibAAF",
"pfdev1\_\_Code\_\_c":"11",
"pfdev1\_\_Order\_\_c":66
},
"3":{
"pfdev1\_\_Process\_\_c":"a0O9000000HkSpAEAV",
"pfdev1\_\_Step\_\_c":"a0a9000000H5DibAAF",
"pfdev1\_\_Code\_\_c":"11",
"pfdev1\_\_Order\_\_c":65
}
},
"updates":e
{
"id":"pfdev1\_\_Code\_\_c",
"targetObjects":null
},
{
"id":"pfdev1\_\_Order\_\_c",
"targetObjects":null
},
{
"id":"pfdev1\_\_Process\_\_c",
"targetObjects":null
},
{
"id":"pfdev1\_\_Process\_\_r.Name",
"targetObjects":null
},
{
"id":"Name",
"targetObjects":null
},
{
"id":"pfdev1\_\_Step\_\_c",
"targetObjects":null
},
{
"id":"pfdev1\_\_Step\_\_r.Name",
"targetObjects":null
},
{
"id":"pfdev1\_\_Subject\_\_c",
"targetObjects":null
},
{
"id":"pfdev1\_\_Team\_Member\_\_c",
"targetObjects":null
},
{
"id":"pfdev1\_\_Team\_Member\_\_r.Name",
"targetObjects":null
},
{
"id":"pfdev1\_\_Step\_\_r.pfdev1\_\_Subject\_\_c",
"targetObjects":null
},
{
"id":"pfdev1\_\_Stage\_\_c",
"targetObjects":null
},
{
"id":"pfdev1\_\_Stage\_\_r.Name",
"targetObjects":null
},
{
"id":"pfdev1\_\_Active\_\_c",
"targetObjects":null
},
{
"id":"pfdev1\_\_Locked\_\_c",
"targetObjects":null
}
],
"type":"pfdev1\_\_Process\_Step\_\_c"
}
]
}

Any ideas?


Cheers!

This is a Skuid bug. It will be fixed in Superbank Patch 8.


Reply