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

Tableschema not updated correctly when viewing tableschema of multiple resources #899

Closed pripley123 closed 2 years ago

pripley123 commented 2 years ago

User Story

As an member of the Data Innovation Program ,
I want the ability to add table schema to resources of my datasets on the BCDC
so that** I can easily add field level metadata to my resources (as opposed to csv based metadata).

Test Case

ENV

Dev instance /dataset/metadata-for-labour-market-programs

There are 4 resources on the above dataset. Each has a tableschema. If you try viewing each one you'll notice that the tableschema doesn't update until you refresh the page (if you don't you just see the last tableschema you were looking at)

Expected: View Tableschema would show the tableschema associated with the resource

Actual: the previously viewed table schema appears

pripley123 commented 2 years ago

btw, one of the resources: /dataset/metadata-for-labour-market-programs/resource/72eec2a8-8966-4f41-b081-923597eedc26 doesn't seem to allow for the tableschema to be displayed.

pripley123 commented 2 years ago

I understand from folks that this is more of a ckan_ui issues so I've created a ticket in that repo and am closing this one