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