Skip to content

Check_ckan_version() throwing error due to missing argument #410

@aleeexgreeen

Description

@aleeexgreeen

ckan version 2.9.7

I am getting this error when navigating to a scheming page after installing CKAN + ckanext-scheming on my machine for the first time

ckanext-scheming/ckanext/scheming/templates/scheming/form_snippets/slug.html", line 3, in <module>
    {% set read_endpoint = '.read' if h.check_ckan_version(min_version="2.9") else '_read' %}
TypeError: check_ckan_version() missing 1 required positional argument: 'max_version'

Going into /form_snippets/slug.html and adding a max_version fixes the issue, but it is a temporary solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions