#3865 New Ming causes data validation errors - NEEDS SCRIPT

v1.0.0
closed
sf-2 (994)
General
2015-08-20
2012-03-07
No

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.

Discussion

    • status: open --> in-progress
    • assigned_to: Tim Van Steenburgh
     
    • summary: New Ming causes data validation errors --> New Ming causes data validation errors - NEEDS SCRIPT
    • status: in-progress --> code-review
    • qa: Dave Brondsema
     
  • 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.

    paster script production.ini ../scripts/migrations/007-update-acls.py
    
     
  • Dave Brondsema

    Dave Brondsema - 2012-03-14
    • status: code-review --> closed
     
  • Dave Brondsema

    Dave Brondsema - 2012-03-15
    • size: --> 2
     

Log in to post a comment.