ckan / ckan/ckanext-validation

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

Open
#58 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
30
Forks
33
PR merge metrics
No merged PRs in 30d

Description

# 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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.