History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-3866
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: -- --
Assignee: Unassigned
Reporter: Max Carlson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

ant lztest failing in legals

Created: 11/Apr/07 12:06 PM   Updated: 09/May/07 03:08 PM
Component/s: Kernel - DHTML
Affects Version/s: 4.0.0
Fix Version/s: Legals, 4.0.2

Time Tracking:
Not Specified

Severity: Minor
Fixed in Change#: 4,682
Fixed in branch: branches/legals
Runtime: N/A
Fix in hand: True


 Description  « Hide
it seems rhino has a console object wit a different API?

ant lzunit in legals yields:
     [exec] js: "lps/includes/lfc/LFCdhtml-debug.js", line 104: uncaught JavaScript runtime exception: ReferenceError: "console" is not defined.
     [exec] js: "tmp/test_lztest_lztest-align.js", line 54: uncaught JavaScript runtime exception: TypeError: Cannot set property "addText" of undefined to "org.mozilla.javascript.gen.c1@dd7bc5"
     [exec] FAILED a test in runlztest.sh

Ideally, external console logging would work for rhino unit tests and firebug (if installed).

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
P T Withington - 19/Apr/07 12:27 PM
r4682 | ptw | 2007-04-11 16:20:23 -0400 (Wed, 11 Apr 2007) | 20 lines
Changed paths:
   M /openlaszlo/branches/legals/WEB-INF/lps/lfc/compiler/LzRuntime.lzs

Change 20070411-ptw-H by ptw@dueling-banjos.local on 2007-04-11 15:09:14 EDT
    in /Users/ptw/OpenLaszlo/legals-1
    for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: ant lztest failing in legals

Bugs Fixed:
LPP-3866 'ant lztest failing in legals'

Technical Reviewer: max (Message-ID: <461D3FD3.5080601@openlaszlo.org>)
QA Reviewer: mamye (pending)
Doc Reviewer: n/a

Details:
    Be more careful testing for the existence of a console

Tests:
    ant lztest


Mamye Kratt - 09/May/07 03:08 PM
(legals build 4941 and branches/4.0 build 4945)
Fixed.