ckan/ckanext-showcase

AttributeError: `add_ckan_admin_tab` not found in plugins toolkit

Closed this issue · 4 comments

I think showcase plugin doesn't support ckan 2.3 as it says in README.rst since add_ckan_admin_tab seems to be added since 2.4: http://docs.ckan.org/en/ckan-2.4.1/extensions/plugins-toolkit.html#ckan.plugins.toolkit.add_ckan_admin_tab

brew commented

This should still work for 2.3, as Showcase performs a version check before using the add_ckan_admin_tab toolkit method.

What exact version of CKAN are you using? You can use http://yourckandomain.com/api/action/status_show to find the CKAN version.

ckan 2.3.2

Maybe it's because the version check max is 2.3 that doesn't work as expected?

brew commented

Yes, that looks likely - thanks for the report. If you're able to submit a PR that would be great, otherwise, I'll try to get to this sometime soonish.

brew commented

Fixed in #21.