[Laszlo-dev] For Review: 20080916-laszlo-6 Summary: A handful of Calendar fixes.

J Crowley jcrowley at laszlosystems.com
Tue Sep 16 03:35:04 PDT 2008


Quick note on this:  I just noticed that testing LPP-6844 only works 
with debug=false in SWF9, or else it gets this error:

TypeError: Error #1034: Type Coercion failed: cannot convert LzInfo$ to 
Function.
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at LzDebugService/info()[C:\Documents and Settings\laszlo\Local 
Settings\Temp\lzswf9\lzgen29896\LzDebugService.as:217]
    at LzDatapointer/setNodeAttribute()[C:\Documents and 
Settings\laszlo\Local Settings\Temp\lzswf9\lzgen29896\LzDatapointer.as:994]
    at 
$lzc$class_node_eventDataMgr/addEvent()[C:\Tomcat5\temp\lzswf9\lzgen50649\$lzc$class_node_eventDataMgr.as:50]
    at 
$lzc$class_calButton_$calendar$2Elzx_139_123/$lzc$handle_onclick$$calendar$2Elzx_139_123_$m1625()[C:\Tomcat5\temp\lzswf9\lzgen50649\$lzc$class_calButton_$calendar$2Elzx_139_123.as:7]
    at Function/http://adobe.com/AS3/2006/builtin::call()
    at LzEvent/sendEvent()[C:\Documents and Settings\laszlo\Local 
Settings\Temp\lzswf9\lzgen29896\LzEvent.as:87]
    at LzView/mouseevent()[C:\Documents and Settings\laszlo\Local 
Settings\Temp\lzswf9\lzgen29896\LzView.as:1856]
    at LzModeManagerService/handleMouseEvent()[C:\Documents and 
Settings\laszlo\Local 
Settings\Temp\lzswf9\lzgen29896\LzModeManagerService.as:127]
    at LzModeManagerService/rawMouseEvent()[C:\Documents and 
Settings\laszlo\Local 
Settings\Temp\lzswf9\lzgen29896\LzModeManagerService.as:199]
    at LzMouseKernel$/__sendEvent()[C:\Documents and 
Settings\laszlo\Local Settings\Temp\lzswf9\lzgen29896\LzMouseKernel.as:14]
    at LzSprite/__mouseEvent()[C:\Documents and Settings\laszlo\Local 
Settings\Temp\lzswf9\lzgen29896\LzSprite.as:352]

I'm filing a bug.

J Crowley wrote:
> Change 20080916-laszlo-6 by laszlo at T43-L3XEXMW on 2008-09-16 06:09:39 EDT
>    in /home/laszlo/src/svn/openlaszlo/trunk-bigboss
>    for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: A handful of Calendar fixes.
>
> New Features:
>
> Bugs Fixed: LPP-6902 - SWF9: Calendar: Can have more than one date 
> expanded (+)
>            LPP-6987 - Calendar - Changing an event's time results in 
> the event's length expanding to the rest of the day.
>            LPP-6988 - Calendar - A handful of debugger warnings about 
> attempting to set node values in data as types other than string
>            LPP-6844 - SWF and DHTML: Calendar: Inputtext boxes disappear
>
> Technical Reviewer: promanik
> QA Reviewer: max
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Details: Various fixes to Calendar.  Figured out that
>    failing to remove selected="true" from an event
>    before deleting it kept the event selected and
>    left it on the calendar, for some reason.  (LPP-6844)
>    LPP-6988 and 6987 are self-explanatory.  LPP-6902 was
>    an error of mine from the last change I made to
>    Calendar.  (The two most recent ones were things I
>    caught while working on the other issues.)
>
> Tests: Run Calendar in SWF and DHTML, with debug=true.
>    LPP-6902: Follow the instructions outlined on the bug.
>    LPP-6987: Take an event, expand the day it's in, and
>    try to drag it to change its time.  It should retain
>    its length now.
>    LPP-6988: Move an event, add an event, apply its data,
>    delete it, etc... there should be no debugger warnings
>    about trying to set data as a type other than string.
>    LPP-6844: Add an event on a day with other events.
>    Immediately close the panel by clicking the "X" box.
>    Add another event by clicking "Add Event", and close
>    it again.  Do this a few more times.  Each time, an
>    event should be created and then destroyed as expected
>    instead of an event getting stuck on the calendar and
>    the info panel losing its text boxes.
>
> Files:
> M      demos/calendar/cal-data.lzx
> M      demos/calendar/infopanel.lzx
> M      demos/calendar/day.lzx
> M      demos/calendar/event.lzx
> M      demos/calendar/eventselector.lzx
>
> Changeset: 
> http://svn.openlaszlo.org/openlaszlo/patches/20080916-laszlo-6.tar
>
>
>




More information about the Laszlo-dev mailing list