bcgov / ckanext-bcgov

BC Data Catalogue source code, main ckan extension
http://catalogue.data.gov.bc.ca
GNU Affero General Public License v3.0
24 stars 23 forks source link

OFI resource still available even after the table name has been changed #634

Open mdunhamwilkie opened 5 years ago

mdunhamwilkie commented 5 years ago

Test Case

ENV

PROD, CAT, CAD

TESTCASE

Add a geographic dataset Specify an existing object (schema.table) that has been configured for download Save the dataset record Edit the dataset record, go to the resources tab, and Manage BCGW Resources to auto-add OFI resource Re-edit the record and Remove the resource Edit the record again and change table name to something that doesn't exist Save then Edit it, go to resources tab, and Manage BCGW Resources

EXPECTED

Should recognize that there are no OFI resources for this fictitious table

ACTUAL

Thinks you're still talking about the old schema.table and sees an OFI resource for it.

jachurchill commented 5 years ago

This is reopened because it exposed another bug and was preventing the creation of BCGW resources