flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jus...@classsoftware.com
Subject Re: [4/6] git commit: [flex-asjs] [refs/heads/develop] - replace existing format bead if it exists
Date Tue, 18 Apr 2017 08:24:30 GMT

> JFYI - Tried it and it fails to fix the issue.

It looks to related to a bug in getBeadByType. It’s checking _beads not beads and at this
point beads has a single element in it but _beads is empty so this line:

if (!_beads) return null;

returns null and it doesn’t run the rest of the method and goes ahead and adds the bead
defined in the CSS.

Some sample code that reporduces this issue:

<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"


                    <js:VerticalLayout />
                <js:Label text="Default" />
                        <accessories:DateFormatDDMMYYYYBead />



View raw message