cioos-siooc / ckan

CKAN is an open-source DMS (data management system) for powering data hubs and data portals. CKAN makes it easy to publish, share and use data. It powers datahub.io, catalog.data.gov and europeandataportal.eu/data/en/dataset among many other sites.
http://ckan.org/
Other
2 stars 4 forks source link

keywords are concatenated with a dash #109

Closed Br-Johnson closed 3 years ago

Br-Johnson commented 3 years ago

Describe the bug After entering keywords in the CIOOS metadata entry tool separated by commas, the CKAN record shows the keyword 'tags' as a single concatenated string separate by dashes.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://cioos-siooc.github.io/metadata-entry-form/#/en/pacific/jnK2pbrIzbMBHpSiUOi8XDUeev93/-MVbHfVJc-DDbAHUqBFE' to see the keywords entered. And then reference the metadata record https://catalogue.cioospacific.ca/dataset/ca-coos_50f11bf2-c710-446c-8230-9ebbf6dcb2a3
  2. Click on 'salmon-survival-fish' tag under the Metadata Source section
  3. See concatenated keyword "salmon-survival-fish-health-marine-ecology-sockeye-pink-chum-coho"

Expected behavior I would have expected these to each be a separate keyword

Screenshots Screen Shot 2021-04-12 at 10 24 43 AM

Desktop (please complete the following information):

Br-Johnson commented 3 years ago

I see the keywords need to be added 1 at a time.

I will republish to see if this fixes it!

fostermh commented 3 years ago

CKAN will take whatever is entered in one keyword entity in the xml as a keyword. If entring keywords individually in the metadata-form doesn't work or is too cumbersome then I think this issue would be best addressed by the metadata-form tool.

Br-Johnson commented 3 years ago

This was a user error. You can't enter keywords as a string separated by commas, you have to add them one at a time. The entry tool even says this. So, never mind! all good.