ckan 2.9.0 iroute before_map not invoking custom controller

跟風遠走 提交于 2019-12-13 04:18:31

问题


I recently updated ckan to 2.9.0. After the update, my custom controller for dataset.search will not be invoked from the plugin anymore. I can see that the templates of the plugins are still working, however, the customer controller is not invoked.

def before_map(self, map):

    # Hook in our custom user controller at the points of creation
    map.connect('dataset',controller='ckanext.facet.controller:CustomPakcageController',
                action='search')

It was working fine before the update. Any clue what changed or I did wrong in the file? Thanks!

来源:https://stackoverflow.com/questions/54987552/ckan-2-9-0-iroute-before-map-not-invoking-custom-controller

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!