ckan / ckanext-validation

CKAN extension for validating Data Packages using Table Schema.
MIT License
28 stars 33 forks source link

Validation badge is shown even if resource no longer has a schema #58

Open ThrawnCA opened 2 years ago

ThrawnCA commented 2 years ago

Overview

If a resource has a validation report, then it shows a badge even if the resource no longer has a schema and therefore no longer participates in validation.

This could be resolved by checking for the schema's presence either in templates/package/resource_read.html or in the get_validation_badge helper.


Please preserve this line to notify @amercader (lead of this repository)