[kupu-dev] Odd not found error
Kelly Craig
kcraig at ucar.edu
Thu Jun 12 16:52:14 CEST 2008
Hello Duncan,
Thank you for your reply. I have two follow up questions for you or
anyone else who could know.
One: Under the circumstances described by you in your reply, would it be
true to assume that the 'cause' of the error, (the passing of an object
instead of the correct string element) is the fault of another Product
and or javascript library loaded on the affected page and not kupu's
direct fault?
Two: Is there a quick javascript fix for the LoadDictFromXML which would
not fail upon the lacking of a string but the existence of an object?
(If so, would this cause catastrophic failure within kupu?)
Best regards,
Kelly Craig
Duncan Booth wrote:
> 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.
>
> _______________________________________________
> kupu-dev mailing list
> kupu-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/kupu-dev
>
--
Kelly Craig
Earth Observing Laboratory | DIR
Web Developer II
UCAR/NCAR
PO Box 3000
Boulder, CO 80301
FL1 - Rm. 2048
Ph: (303) 497-8825
Fx: (303) 497-2044
E-Mail: kcraig at ucar.edu
More information about the kupu-dev
mailing list