[ckan-dev] Wrong value in config['routes.named_routes']

Nigel Babu nigel.babu at okfn.org
Mon Dec 16 05:35:13 UTC 2013


Hi Fabian,

It would be great if you could file an issue on gihub for this. Can you
also link us to the source code for your extension so we can reproduce the
problem quickly?

Nigel Babu

Developer  |  @nigelbabu <https://twitter.com/nigelbabu>

The Open Knowledge Foundation <http://okfn.org/>

Empowering through Open Knowledge

http://okfn.org/  |  @okfn <http://twitter.com/OKFN>  |  OKF on
Facebook<https://www.facebook.com/OKFNetwork> |
Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter>

 CKAN | http://ckan.org/ | @CKANproject
<http://twitter.com/CKANproject> |the world’s leading open-source data
portal platform


On 9 December 2013 21:53, Kirstein, Fabian <
fabian.kirstein at fokus.fraunhofer.de> wrote:

>  Hi!
>
> I’m using the IGroupForm for customizing the Organization forms
> (group_types return organization). This causes that the „Datasets“ tab in
> the organization view is not working correctly anymore. It is not
> highlighted when active and there is no icon. I narrowed it down to the
> line _menu_items = config['routes.named_routes'] in helpers.py. It seems
> that the reverse routing is not working correctly.
>
> In _*menu*_items the key „organization_read“ is set to:
>
> {'action': 'read', 'needed': ['id'], 'controller': 'group',
> 'highlight_actions': 'read', 'icon': None}
>
> So somehow the controller is wrong. I have no idea what causes this
> behaviour. The string organization_read occurs only three times in my
> project. But still somewhere something changes that value.
>
>
>
> Thanks.
>
> Fabian
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20131216/e721516a/attachment-0003.html>


More information about the ckan-dev mailing list