Start on importing validation patches from bug #27511 (DVRecord still needs more work before it can go in)