|
|
|
[
Permlink
| « Hide
]
Amy Muntz - 24/Aug/07 11:18 AM
Assigning this to wafflecone because I'm assuming the error is a regression. Mamye - if it isn't a regression please move to 4.1.
I got this error in swf9:
--- TypeError: Error #1006: value is not a Function. at LzNode/__LZapplyArgs()[LzNode.as:640] at LzNode()[LzNode.as:195] at LzView()[LzView.as:7] at $lzc$class_DebugObject()[$lzc$class_DebugObject.as:127] at $lzc$class_Test()[$lzc$class_Test.as:260] at $lzc$class_TestSuite()[$lzc$class_TestSuite.as:206] at LzNode/makeChild()[LzNode.as:832] at LzInstantiatorService/makeSomeViews()[LzInstantiatorService.as:202] at LzInstantiatorService/checkQ()[LzInstantiatorService.as:152] at Function/http://adobe.com/AS3/2006/builtin::call() at LzEvent/sendEvent()[LzEvent.as:92] at LzIdleService/__idleupdate()[LzIdleService.as:53] at LzIdleKernel$/__update()[LzIdleKernel.as:27] --- The swf9 error is caused by a local change..
Expected:
- last() and position() should return 1 Actual: - TypeError is thrown by runtime simpler testcase: --- <canvas debug="true" > <dataset name="ds" > <item /> </dataset> <handler name="oninit" > var dp = new lz.datapointer(); dp.setPointer(ds.getFirstChild()); try { Debug.write("position() = %w", dp.xpathQuery("position()")); } catch (e) { Debug.error(e); } try { Debug.write("last() = %w", dp.xpathQuery("last()")); } catch (e) { Debug.error(e); } </handler> </canvas> --- ------------------------------------------------------------------------
r12241 | bargull | 2008-12-26 23:17:54 +0100 (Fri, 26. Dec 2008) | 26 lines Ge?\195?\164nderte Pfade: M /openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDatapointer.lzs Change 20081226-bargull-bpg by bargull@dell--p4--2-53 on 2008-12-26 21:15:00 in /home/Admin/src/svn/openlaszlo/trunk for http://svn.openlaszlo.org/openlaszlo/trunk Summary: add type check to prevent TypeError in dhtml/swf9 New Features: Bugs Fixed: Technical Reviewer: hminsky QA Reviewer: (pending) Doc Reviewer: (pending) Documentation: Release Notes: Details: A simple type check was necessary to make the test pass in swf9 and dhtml. Tests: see bugreport ------------------------------------------------------------------------ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||