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

Cannot create Distribution Link (POW) for named user restricted object. #686

Closed dkelsey closed 5 years ago

dkelsey commented 5 years ago

ENV

PROD, CAT, CAD un-verified.

At the time of writing this, both TEST and PROD are pointing to the PROD OFI API and PROD distribution.

TESTCASE

EXPECTED

ACTUAL

mdunhamwilkie commented 5 years ago

@dkelsey and @hleckenb and @jachurchill . It is actually possible to add the ofi object if you follow the originally-intended workflow of pressing Next: Add Data instead of Save Dataset. This functionality was re-made operational in another ticket (https://github.com/bcgov/ckanext-bcgov/issues/641)

mdunhamwilkie commented 5 years ago

ofi_add_works_for_me.docx

dkelsey commented 5 years ago

Geographic dataset creation, and the process of configuring distribution resources has always been problematic and cumbersome. We require that Editors create a metadata record, before the data is even available in PROD and before distribution has been configured. Editors were asked to add 'dummy' resources, the FAQ, then after the data is loaded and distribution is correctly configured, we instruct editors to re-visit the record and configure the distribution links.

in short, the "happy path" is not a single end-to-end record creation and distribution link creation session. It has never happened happened that way.

The steps that are failing now, used to work.

Further, when I now press the 'Next: Add Data' button, for the test cases i've created, I'm taken out of edit mode and returned to the unpublished record.

I'll add that adding distribution links for GeoSpatial metadata records... has been plagued with issues...it's a slippery eel!

dkelsey commented 5 years ago

I followed the instructions in your ofi workflow. I created a new record and followed the step. it did not work for me. I got the same pop-up.

jachurchill commented 5 years ago

This now passes in CAT https://cat.data.gov.bc.ca/dataset/john-test-jan-16-named-user @hleckenb @dkelsey

dkelsey commented 5 years ago

This passes in PROD https://catalogue.data.gov.bc.ca/dataset/test-named-user-restricted-data-distribution-686?