cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Rolappe <m_rola...@web.de>
Subject Re: DO NOT REPLY [Bug 34077] - [2.1.7 Testing] Forms block
Date Mon, 21 Mar 2005 08:30:13 GMT
see inline.

bugzilla@apache.org schrieb:
> 
> http://issues.apache.org/bugzilla/show_bug.cgi?id=34077
> 
> 
> jh@domek.be changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>             Summary|patch for various bugs in   |[2.1.7 Testing] Forms block
>                    |CForms Samples              |
> 
> 
> 
> 
> ------- Additional Comments From jh@domek.be  2005-03-19 13:32 -------
> For reference, this patch (Thanks Helma!) addresses bugreport
> http://article.gmane.org/gmane.text.xml.cocoon.devel/48532 against the upcoming
> 2.1.7 release.
> 
> Following issues are still open. @Helma pls correct if i left anything out so we
> keep the overview.
> 
> 
> - URL http://localhost:8888/samples/blocks/forms/binding-06namespaced-XML.flow
> 
> 1)after submit query, press either the JS or Java link :
> 
> cause: ConversionError: The undefined value has no properties.
> (file:/D:/src/cocoon-2.1.x/build/webapp/samples/blocks/forms/flow/bindings.js;
> line 119)

the problem with this and the other similar one is missing code. the 
line in bindings.js mentioned in the error message tries to invoke a 
function the name of which is computed from parameters. bindings.js even 
outputs to stderr before trying to make the call. in this case it 
outputs 'Using the bean returned by function 
createJSBeanFor06namespaced()'. and here comes the missing code; that 
function doesn't exist and triggers the error message. more precisely, 
bindings.js, line 119:

         return this[factoryFunction].apply();

since factoryFunction (createJSBeanFor06namespaced) doesn't exist, 
this[factoryFunction] evaluates to the undefined value which is 
mentioned in the error message.

Mime
View raw message