Index: grails-app/controllers/com/lemans/ds/studioorder/StudioOrderPartController.groovy =================================================================== diff -u -r486da419c2d3173a16d116730e03f7adcb3ee9d4 -r8c08a8dcd612d496ee5cf723f48b385f0f157f42 --- grails-app/controllers/com/lemans/ds/studioorder/StudioOrderPartController.groovy (.../StudioOrderPartController.groovy) (revision 486da419c2d3173a16d116730e03f7adcb3ee9d4) +++ grails-app/controllers/com/lemans/ds/studioorder/StudioOrderPartController.groovy (.../StudioOrderPartController.groovy) (revision 8c08a8dcd612d496ee5cf723f48b385f0f157f42) @@ -18,8 +18,9 @@ } def performActions(Integer studioOrderId) { - Map data = studioOrderPartManagerService.performActions(request.JSON + [studioOrderId: studioOrderId], auditUserName) - if (data?.messages) { + Map values = request.JSON + Map data = studioOrderPartManagerService.performActions(values + [studioOrderId: studioOrderId], auditUserName) + if (data?.messages && values.action != 'create') { response.status = 400 render toJson(data) } else {