Comment 2 for bug 669133

Revision history for this message
Eric Casteleijn (thisfred) wrote :

The record_type_version is not set to anything that is saved to couch, so both the tests and the code are currently broken.

To fix: add a test that creates a record with a record_type_version, save it to the database, retrieve the record from the database as json, assert that the record_type_version is in there, and holds the expected value.

Also, I am suddenly wondering if the whole version number isn't a yagni, now that we're adding the automatic migration scripts to deal with older data.