Index: grails-app/controllers/com/lemans/ds/studioorder/StudioOrderPartController.groovy =================================================================== diff -u -r14b18d52e3a36938dbab85edd7f01c1fe3f29a26 -r5e4675576d308ef361b7db42ec0df5d4ac5d64fa --- grails-app/controllers/com/lemans/ds/studioorder/StudioOrderPartController.groovy (.../StudioOrderPartController.groovy) (revision 14b18d52e3a36938dbab85edd7f01c1fe3f29a26) +++ grails-app/controllers/com/lemans/ds/studioorder/StudioOrderPartController.groovy (.../StudioOrderPartController.groovy) (revision 5e4675576d308ef361b7db42ec0df5d4ac5d64fa) @@ -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 {