-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot upload CSV #501
Comments
I was able to upload a CSV as a resource for a new metadata records but i could not for an older ones.
|
bcgov#501 Can't use `not_empty` on resource_storage_location currently because when adding or updating resources, if that field is missing from other resources in the dataset, then the new or edited resource fails.
So the problem seems to be that adding and updating resources are done as a lump, so updating/adding one resource causes the other resources to go though the validation process at once. For now, the fix is to revert back to using the |
#501 - Revert resource_storage_location validator
Tested these and the all pass. |
FAILI'm using a dataset that has a number for resources where the some resources do not have the 'resource_storage_location' field:
|
PASS.re-tested same test case and it now passes. |
ENV
CAT
TESTCASE
EXPECTED
ACTUAL
The text was updated successfully, but these errors were encountered: