[1281] Fix - resource_update raises a KeyError on failed validation. The problem is that resource_update calls package_show, changes the resource and then calls package_update. package_show was using the custom schema (which for DGU does not have resources - it has individual_resources etc). You need to tell it to use the default schema. You also need to give it a context of its own, since it sets the schema in the context to one only suitable for package_show (!).
Merge branch 'release-v2.2-dgu' of github.com:datagovuk/ckan into release-v2.2-dgu