Ming-0.2.2dev_20120305 enforces data types more strictly - specifically dict and list types. When we put it in prod we had a bunch of validation errors since some document data no longer strictly conformed to the schema (e.g., stored dict types where the schema specifies list).
We need to clean up the production data before putting the new Ming back in prod.
forge:tv/3865
Code review. I ran the script on my sandbox against a production dataset, then confirmed that pages that were previously 500ing (pulled examples from prod error logs) were then working. All the failures in prod were caused by the specific case where
acl == {}
, which this script fixes.https://trac.geek.net/trac/siteops/ticket/50538