Change 20090605-sallen-4 by sallen@sallen-mac.local on 2009-06-05 13:40:38 PDT     in /Users/sarah/src/svn/openlaszlo/trunk-bugfix     for http://svn.openlaszlo.org/openlaszlo/trunk New Features: n/a
Change 20090605-sallen-4 by sallen@sallen-mac.local on 2009-06-05 13:40:38 PDT
    in /Users/sarah/src/svn/openlaszlo/trunk-bugfix
    for http://svn.openlaszlo.org/openlaszlo/trunk
New Features: n/a

Bugs Fixed:
LPP-8237 When an rtmpconnection is named, it is never used as the default connection

Technical Reviewer: Raju Bitter <rajubitter@me.com> 
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation: now the behavior matches the docs

Release Notes:

Details:
   As documented, the a/v extensions and components use the first rtmpconnection that is created if there is none specified for the component; however, if a rtmpconnection has a name, it is never used as the default Test file checked in: trunk/test/video/test-rtmp-default.lzx Expected: click the button, status light should turn green Results: the following warnings are reported in the debugger on app startup WARNING @av/rtmpstatus.lzx#33: reference to undefined property '_default' WARNING @test-rtmp-default.lzx#18: rtmpconnection not found for /view[2]/rtmpstatus When you click the button, it stays red, even though the status text says "connected"


Tests:
Test file checked in: trunk/test/video/test-rtmp-default.lzx
Expected: click the button, status light should turn green
Before the fix: the following warnings are reported in the debugger on app startup
WARNING @av/rtmpstatus.lzx#33: reference to undefined property '_default'
WARNING @test-rtmp-default.lzx#18: rtmpconnection not found for /view[2]/rtmpstatus
When you click the button, it stays red, even though the status text says "connected"



git-svn-id: d62bde4b5aa582fdf07c8d403e53e0399a7ed285@14070 fa20e4f9-1d0a-0410-b5f3-dc9c16b8b17c

mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo