{"push_id":3697367117,"size":3,"distinct_size":1,"ref":"refs/heads/master","head":"7d41adf6aa3a6194e971d82ee3115dfa59b6fc78","before":"c573f26bad319c16e56825ee0369f99cd8f4804b","commits":[{"sha":"8ce59ff9b4d82f0b63aed98cad02d73cabce3801","author":{"name":"Kath Pobee-Norris","email":"f541e7fefc6319b048b622db0cee90cc8bff5f5f@gmail.com"},"message":"Fix case responsibility calculation bug\n\nWe have been getting Sentry alerts for an issue around the various POM\ncaseload views: https://sentry.service.dsd.io/mojds/live1-allocation-manager-produ/issues/36091/.\nInvestigation into this issue showed that this error appears when\nsomeone has been released and our MovementService hasn’t run yet.\nOn release the sentence_start_date is set to nil, which is why we’re getting the error.\nFrom the looks of things the error will trigger when\nsentence_start_date == nil && release_date == today).\n\nThis method is part of the flow where we determine whether the POM is\nresponsible or not.  We don’t keep a record of this responsibility/supporting\noutcome anywhere as we run the checks each time we load the POM caseload page\nor the unallocated summary tab, so we can’t rely on grabbing a field out of the db.\n\nAt the point we check if someone is sentenced or not we are going to\nreturn false if they 'sentence_start_date' is blank.","distinct":false,"url":"https://api.github.com/repos/ministryofjustice/offender-management-allocation-manager/commits/8ce59ff9b4d82f0b63aed98cad02d73cabce3801"},{"sha":"dc5d807f62135f2f31208a1c11f98e9a73ccd58d","author":{"name":"Ross Jones","email":"326081d17db49db7c86fc3ac41382a39f9819f37@digital.justice.gov.uk"},"message":"Merge branch 'master' into fix-caseload-bug","distinct":false,"url":"https://api.github.com/repos/ministryofjustice/offender-management-allocation-manager/commits/dc5d807f62135f2f31208a1c11f98e9a73ccd58d"},{"sha":"7d41adf6aa3a6194e971d82ee3115dfa59b6fc78","author":{"name":"kath","email":"55dc83cc4837dc4a6117eb98d77c8f3010e860e8@digital.justice.gov.uk"},"message":"Merge pull request #547 from ministryofjustice/fix-caseload-bug\n\nFix case responsibility calculation bug","distinct":true,"url":"https://api.github.com/repos/ministryofjustice/offender-management-allocation-manager/commits/7d41adf6aa3a6194e971d82ee3115dfa59b6fc78"}]}
{"actor":{"display_login":"KPobeeNorris"}}