asc-csa / ckanext-asc-csa

📈 Extension CKAN pour le portail de données et information ouvertes de l'ASC | 📈CKAN Extension for the CSA open data and information portal

Home Page:https://donnees-data.asc-csa.gc.ca/dataset

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Malfunctioning license selection in CKAN 2.9

nfee006 opened this issue · comments

License selection appears as an empty dropdown

image

Any luck with this @coleweusthem?
This might be useful info: ckan/ckanext-scheming#207

@nfee006, no luck yet, works if I turn off the CSA extensions though, so I'm looking at the ckan version of scheming to see if they are doing something different

Can't tell if this is relevant but just in case: ckan/ckanext-scheming#277

@nfee006, I've got licenses showing but there are only 2 showing from the list, it seems like there is some kind of filter. Is this intentional?
Screen Shot 2021-06-01 at 2 26 53 PM

Great! Yeah, I saw the filter too. I'm sending an email to the person who manages the CSA metadata/licenses to check.

What was the solution by the way?

I had to replace most of the plugin with the latest code from the CKAN version

I just pulled your latest edits on the python 3 branch - fixed the license issue on my side as well. I did notice a new scheming issue but I'll make a new issue.

I'm still waiting to hear back regarding the license filter but I think we can leave it as-is for now. I just tested it and I'm easily able to remove the filter if need be (for my future reference, that edit must be applied to the presets.json file within ckanext-asc-csa and not the one in scheming).

Works correctly on the python3_upgrades branch.