Skip to content

Commit

Permalink
Merge pull request #504 from HighwayThree/501-storage-location-validator
Browse files Browse the repository at this point in the history
#501 - Revert resource_storage_location validator
  • Loading branch information
dkelsey authored May 3, 2018
2 parents dd01a56 + b91cce7 commit 588bcbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/bcgov/forms/edc_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def _update_geospatial_schema(self, schema):
'format': [not_empty, unicode],
'edc_resource_type': [not_empty, convert_to_extras],
'resource_storage_access_method': [not_empty, convert_to_extras],
'resource_storage_location': [not_empty, unicode, convert_to_extras],
'resource_storage_location': [ignore_missing, unicode, convert_to_extras],
'data_collection_start_date': [ignore_missing, valid_date, convert_to_extras],
'data_collection_end_date': [ignore_missing, valid_date, convert_to_extras],
'ofi': [ignore_missing, bool, convert_to_extras]
Expand Down Expand Up @@ -232,7 +232,7 @@ def _update_nongeospatial_schema(self, schema):
'format': [not_empty, unicode],
'edc_resource_type': [not_empty, convert_to_extras],
'resource_storage_access_method': [not_empty, convert_to_extras],
'resource_storage_location': [not_empty, unicode, convert_to_extras],
'resource_storage_location': [ignore_missing, unicode, convert_to_extras],
'data_collection_start_date': [ignore_missing, valid_date, convert_to_extras],
'data_collection_end_date': [ignore_missing, valid_date, convert_to_extras],
})
Expand Down

0 comments on commit 588bcbb

Please sign in to comment.