[Kss-devel] "Could not adapt" error with event subscribers firing during an ajax call
Jeroen Vloothuis
jeroen.vloothuis at xs4all.nl
Fri Nov 9 07:52:13 CET 2007
Balazs Ree wrote:
> On Thu, 08 Nov 2007 15:55:45 +0200, Hedley Roos wrote:
>
>
>> David Bain gives a complete explanation at
>> http://lists.plone.org/pipermail/product-developers/2007-
>>
> October/000882.html
>
>
>> So, bit stuck here. David Bain also received no replies. Anyone else
>> have this issue?
>>
To have a workaround for now you could make a subclass off KSSView and
use that as the base for your view. In this subclass you would override
the `_eventRedispatcher(self, event)`. You can find its default
implementation in kss.core.kssview.
Now you can and add a try except around a call to the orginal
implementation. This should at least get you up and running again.
Perhaps we should make handling these subscribers more robust by default?
More information about the Kss-devel
mailing list