[Laszlo-dev] For Review: 20080620-laszlo-6 Summary: SWF: Adding event and moving it to the next month causes extra events to be added to the calendar

J Crowley jcrowley at laszlosystems.com
Fri Jun 20 20:33:02 PDT 2008


Change 20080620-laszlo-6 by laszlo at T43-L3XEXMW on 2008-06-20 23:18:13 EDT
    in /home/laszlo/src/svn/openlaszlo/trunk-sev
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: SWF: Adding event and moving it to the next month causes extra 
events to be added to the calendar

New Features:

Bugs Fixed: LPP-6366 - SWF: Adding event and moving it to the next month 
causes extra events to be added to the calendar

Technical Reviewer: promanik
QA Reviewer: max
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: I changed the order in which the code
    was run, such that the event was moved just
    before the month was changed, instead of the
    other way around.  I also fixed an additional
    issue that was occurring where moving back to
    a previous month in DHTML (or forward from a
    longer month) would break the app.

Tests: Run /demos/calendar/calendar.lzx in SWF
    or DHTML.  Create an event on, say, June 24th.
    Use the arrows in the Info Panel to move the
    event forward into July, so that the month
    changes.  Move back far enough that you change
    back to June again.  There should be no more
    supernumerary events getting dropped all over
    the place, and no errors or breakages.
    
    Also, you should be able to create an event in
    August and move it forward into September.
    
    There's a possibility that if you click REALLY
    fast in DHTML, you might end up dropping an
    extra event, but it could happen anywhere, even
    in the middle of the month, and isn't related to
    this bug.

Files:
M      demos/calendar/infopanel.lzx

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20080620-laszlo-6.tar




More information about the Laszlo-dev mailing list