[kupu-dev] Odd not found error
Duncan Booth
duncan.booth at suttoncourtenay.org.uk
Thu Jun 12 16:30:09 CEST 2008
Kelly Craig <kcraig at ucar.edu> wrote:
> Hello,
> I was curious to ask if anyone had encountered this error with kupu (all
> versions, but 1.4.10 here) while in use with Plone 2.5.3.
>
> *Error 404 loading [object Object]linkable
>
> *I get this error in a popup alert window (javascript in nature it
> seems) when trying to pull out the image or internal link drawer via the
> button(s).
> The only other hint I can give you in hopes you know why this is
> happening is a failed GET to URL/%5Bobject%20Object%5Dlinkable where
> Plone 2.5.3 is serving a not found page.
>
> Any ideas?
> This started happening recently but doesn't correspond to any major
> changes or updates to kupu or plone/zope. I did uninstall and re-install
> kupu as well as download and re-deploy a fresh copy of kupu to no avail.
>
> Best Regards,
> Kelly Craig
>
I have a vague memory of encountering something along these lines a long
time ago. The problem is that for some reason the configuration information
passed to kupu is returning a javascript object for lib_prefix instead of a
string.
I think when this happened before it was because of some javascript library
doing things to the browser's XML node prototype which were incompatible
with kupu. Anyway the problem is in kupuhelpers.js, LoadDictFromXML (or
_load_dict_helper) which should return an object with a string attribute
lib_prefix, but in fact it is returning an object for lib_prefix. Someone
with access to your system would need to step through the code with a
debugger and figure out why this is failing.
More information about the kupu-dev
mailing list