[Product-Developers] KeyError: 'False' when calling view() on a multi adapter

Juan Pablo Giménez jpg at rosario.com
Tue Oct 30 19:14:08 UTC 2012


2012/10/30 Héctor Velarde <hector.velarde at gmail.com>

> well, it got worst: it was solved by removing an unused import of the
> IHtmlHeadLinks interface: https://github.com/collective/**
> collective.newsflash/commit/**86e326c76ed9ebbb28525781289349**fe9359d695<https://github.com/collective/collective.newsflash/commit/86e326c76ed9ebbb28525781289349fe9359d695>
>
> Grok's black magic...
>

No, is not grok's magic... the problem was the js expression,

expression="context/@@newsflash_api/enabled | False"

KeyError: 'False' refers to this, because the right one is python:False...


cheers,
jpg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20121030/91618e51/attachment.html>


More information about the Product-Developers mailing list