Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use db_to_form_package_schema() by default
Make DefaultDatasetForm's db_to_form_schema() method return db_to_form_package_schema() rather than None, so that validation against db_to_form_package_schema() is done by default, even when there's no IDatasetForm plugin active. The reason for this is that bugs in db_to_form_package_schema() can cause pages to crash, features to stop working, etc., but the tests currently do not catch these bugs because db_to_form_package_schema() is only used when an IDatasetForm plugin that returns a schema based on db_to_form_package_schema() is active, and no such plugin is active when the tests run.
- Loading branch information