IE Flex bug?

I'm new to Flex and still learning (SORRY FOR THE LONG POST
but its a strange scenario). I have a very strange issue happening
thats really been bothering me. I've setup Flex to correctly map to
my ColdFusion RDS development server. I followed the instructions
to use the CF/Flex Wizard and am able to create a simple CRUD app.
In the example they use the artists DB (which is microsoft access).
I'm using an Oracle DB. I correctly map out 3 pages... 2 master and
1 detail. When I compile and run the app... it appears to work
fine. I can drill into an employee... see their multiple comp
plans, and then there is that edit button to edit the detail page
(or double-clicking of the row). This is where it sometimes works
and it sometimes doesn't! The edit page will sometimes show the
information and other times it will not load anything! If I click
on the Edit button 10 times... the data will load 4/10 times, other
times it won't at all. In FireFox the app works perfect. IE 6 and 7
is having this issue. It's almost as if the selectedItem is not
passing the primary key to the details page everytime. I found that
if I click on an item and wait 10-15 seconds and then click edit it
will usually work everytime. Also, I have Trusted Cache OFF in my
CF admin settings... but I find that clearing template cache right
before I click edit will also have it work nearly every time. This
is really bothering me and seems like some sort of bug! I can't
figure out if its a Flex, CF, IE, or an Oracle one though. This
simple app will determine if my company will purchase Flex
licenses, so if we can't rely on the data pulling everytime we will
not purchase it (but I'd love to figure this out so I can make the
case). Please Help.

"BosDog" <[email protected]> wrote in
message
news:[email protected]...
> I'm new to Flex and still learning (SORRY FOR THE LONG
POST but its a
> strange
> scenario). I have a very strange issue happening thats
really been
> bothering
> me. I've setup Flex to correctly map to my ColdFusion
RDS development
> server. I
> followed the instructions to use the CF/Flex Wizard and
am able to create
> a
> simple CRUD app. In the example they use the artists DB
(which is
> microsoft
> access). I'm using an Oracle DB. I correctly map out 3
pages... 2 master
> and 1
> detail. When I compile and run the app... it appears to
work fine. I can
> drill
> into an employee... see their multiple comp plans, and
then there is that
> edit
> button to edit the detail page (or double-clicking of
the row). This is
> where
> it sometimes works and it sometimes doesn't! The edit
page will sometimes
> show
> the information and other times it will not load
anything! If I click on
> the
> Edit button 10 times... the data will load 4/10 times,
other times it
> won't at
> all. In FireFox the app works perfect. IE 6 and 7 is
having this issue.
> It's
> almost as if the selectedItem is not passing the primary
key to the
> details
> page everytime. I found that if I click on an item and
wait 10-15 seconds
> and
> then click edit it will usually work everytime. Also, I
have Trusted Cache
> OFF
> in my CF admin settings... but I find that clearing
template cache right
> before
> I click edit will also have it work nearly every time.
This is really
> bothering
> me and seems like some sort of bug! I can't figure out
if its a Flex, CF,
> IE,
> or an Oracle one though. This simple app will determine
if my company will
> purchase Flex licenses, so if we can't rely on the data
pulling everytime
> we
> will not purchase it (but I'd love to figure this out so
I can make the
> case).
> Please Help.
I don't know about anyone else who posts here, but usually
when I come to
this forum to try to help people I am very tired and burnt
from coding all
day, and I am just not able to make my eyes make sense of
text written with
no paragraph breaks. Maybe I can help you, maybe I can't, but
I just am not
able to read your post.

Similar Messages

  • [svn:osmf:] 12276: Integrating Flex bug - 226

    Revision: 12276
    Revision: 12276
    Author:   [email protected]
    Date:     2009-11-30 09:28:54 -0800 (Mon, 30 Nov 2009)
    Log Message:
    Integrating Flex bug - 226
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/media/LoadableMediaElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayer.as

  • [svn:osmf:] 12213: Integrating Flex bug - 207

    Revision: 12213
    Revision: 12213
    Author:   [email protected]
    Date:     2009-11-25 14:26:06 -0800 (Wed, 25 Nov 2009)
    Log Message:
    Integrating Flex bug - 207
    Modified Paths:
        osmf/branches/flex4/framework/MediaFramework/org/osmf/media/MediaPlayer.as
        osmf/branches/flex4/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayer.as

  • [svn:osmf:] 12212: Flex bug - 207

    Revision: 12212
    Revision: 12212
    Author:   [email protected]
    Date:     2009-11-25 14:16:26 -0800 (Wed, 25 Nov 2009)
    Log Message:
    Flex bug - 207
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/media/MediaPlayer.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayer.as

  • [svn:osmf:] 12210: Flex bug - 232

    Revision: 12210
    Revision: 12210
    Author:   [email protected]
    Date:     2009-11-25 13:31:08 -0800 (Wed, 25 Nov 2009)
    Log Message:
    Flex bug - 232
    Modified Paths:
        osmf/branches/flex4/framework/MediaFramework/org/osmf/media/MediaPlayer.as
        osmf/branches/flex4/framework/MediaFramework/org/osmf/utils/MediaFrameworkStrings.as

  • DataGridColumn.visible property:  Why always true?  Flex bug?

    Can anyone tell me why when I have a DataGrid with many
    columns that requires scrolling, for even the DataGridColumns that
    are offscreen, visible always returns true? I would have expected
    it to return false if the column is offscreen. Is this a Flex bug?
    Best regards,
    Jason

    Install Flex 2.0.1 SDK and then ! a hotfix
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=kb401224
    Should help.

  • [svn:osmf:] 12278: Integrating Flex bug - 226

    Revision: 12278
    Revision: 12278
    Author:   [email protected]
    Date:     2009-11-30 09:32:46 -0800 (Mon, 30 Nov 2009)
    Log Message:
    Integrating Flex bug - 226
    Modified Paths:
        osmf/branches/flex4/framework/MediaFramework/org/osmf/media/LoadableMediaElement.as
        osmf/branches/flex4/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayer.as

  • Flex Bug Quash - Round 2 Indy Style

    Want to help improve the quality of Flex for yourself and others? Have a bug that you’re dying to have fixed? Come join the Flex Bug Quash on Sunday May 17th. You can participate either in person at the 360|Flex event in Indianapolis or remotely via Adobe Connect. We recently hosted the first Flex Bug Quash in Seattle and had quite the turn out with 180 participants, 2/3rds of which were remote. Prior to this event, in the 13 months that Flex has been open source, we had received 111 patches, in the Seattle Bug Quash alone we got another 57 patches from the community, bring us up 168 patches submitted. This event was a definite success and we hope to have an even better event in Indianapolis! This is a great opportunity to share your knowledge of Flex, learn from other leet Flex developers, and contribute to making Flex a better product. For more information check out bugquash.com.

    alexj wrote:I love it too
    Thanks.
    Labello wrote:any chance of a fitting openbox-theme to evolve?
    Sure. It's easy to make em. Keep your eyes open.
    Foucault wrote:
    Very sweet theme, I really like it. I would like to point out something though. I don't know if it's only for me but the hover effect on comboboxes makes the text illegible.
    Example
    http://i.imgur.com/0FPMR.png Mouse off
    http://i.imgur.com/qmiFa.png Mouse on
    I've corrected that now and I'll upload version 2.0.1 in a moment.
    Edit: Seemse like I have a few reuests about more colors. I'll fix that to and upload a new version in the morning instead. I'm really tired and need some sleep.
    Last edited by Hund (2010-09-14 06:32:34)

  • Flex bug in global error handling

    My application's global error handler (uncaught error handler) works mostly, but I found a case where it doesn't work, but should.  Before I filed an official bug report I wanted to post the issue here.
    Here is the issue: in a module, ErrorEvents that are not listened for  and are dispatched by a Flex component are never caught in the application's uncaught error handler. 
    I have a sample project that demonstrates this.  Here is the module in my test case:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
                 xmlns:s="library://ns.adobe.com/flex/spark"
                 xmlns:mx="library://ns.adobe.com/flex/mx">
    <fx:Script>
        <![CDATA[
            private function onClickSparkDispatch():void {
                dispatchEvent( new ErrorEvent( ErrorEvent.ERROR, false, false, "test" ) );   // this isn't caught in the uncaught error handler
            private function onClickNonSparkDispatch():void {
                var nonSparkDispatcher:EventDispatcher = new EventDispatcher();
                nonSparkDispatcher.dispatchEvent( new ErrorEvent( ErrorEvent.ERROR, false, false, "test" ) );  // this is caught in the uncaught error handler
        ]]>
    </fx:Script>   
        <s:HGroup>
            <s:Button label="Module Spark Dispatch (broken)" click="onClickSparkDispatch()" />
            <s:Button label="Module Non-Spark Dispatch" click="onClickNonSparkDispatch()" />
        </s:HGroup>
    </s:Module>
    Using Flex 4.6
    My application statically links in the Flex SDK ("merged into code" in Flash Builder).
    My applications works around these two exsiting bugs:
         https://bugs.adobe.com/jira/browse/SDK-28018
         http://blogs.adobe.com/aharui/2011/04/catching-uncaughterror-in-flex-modules.html
    Is this a bug?
    Thanks,
    Rick

    It’s been reported.  Here is more information and a workaround. http://blogs.adobe.com/aharui/2011/04/catching-uncaughterror-in-flex-modules.html

  • Flex Bug - Programmatic Skinning!

    I believe I found a Programmatic Skinning bug in Flex.
    Whenever I set the "borderSkin" property to a custom skin
    class, the flash player hangs in all browsers, the CPU peaks around
    95% and memory is consumed rapidly.
    After waiting for about 10 minutes I get the following...
    [SWF] C:\Documents and Settings\Chris.Simeone\My
    Documents\Flex Builder 2\Skinning-Lessons\bin\gridBorders-debug.swf
    - 408,071 bytes after decompression
    undefined
    at
    mx.core::UIComponent/getClassStyleDeclarations()[C:\dev\GMC\sdk\frameworks\mx\core\UIComp onent.as:6810]
    at
    mx.styles::StyleProtoChain$/mx.styles:StyleProtoChain::addProperties()[C:\dev\GMC\sdk\fra meworks\mx\styles\StyleProtoChain.as:142]
    at
    mx.styles::StyleProtoChain$/mx.styles:StyleProtoChain::addProperties()[C:\dev\GMC\sdk\fra meworks\mx\styles\StyleProtoChain.as:173]
    (FYI: The previous error line is repeated 191 times)
    I tried tracing my custom skin class (by setting breakpoints)
    but none of the code ever fires - the debugger never goes into the
    code.
    When I remove this line from my CSS file -
    borderSkin:ClassReference('GridBorders'); - the application
    runs fine.
    To test this further I grabbed the example on the bottom of
    this
    page
    and the same exact error occurs. Note it the "borderSkin" property
    is set on the VBox tag.
    I tested other programmatic skinning examples that use
    upSkin, downSkin, etc and they all work fine. I only have this
    problem when assigning a skin class to the "borderSkin" property.
    Would someone please confirm this is bug? I followed the
    Programmatic skins recipe to the letter.
    Thanks
    Chris Simeone

    I found the problem. It's in my CSS file. If there's a
    "borderStyle"
    property as defined below the application hangs. Take out the
    "borderStyle" property and the app runs.
    See my test code below (FYI: it does not do much. My first
    attempt at
    border skinning using code)...
    GRIDBORDERS.CSS » HERE'S THE PROBLEM
    Application
    background-color: #FFFAC7;
    GridItem
    borderStyle: solid;
    borderSkin: ClassReference('GridBorders');
    GRIDBORDERS.MXML
    <?xml version="1.0"?>
    <mx:Application pageTitle="Grid Borders"
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Style source="GridBorders.css"/>
    <mx:Grid height="640" width="940">
    <mx:GridRow width="100%" height="66%">
    <mx:GridItem width="66%" height="100%" >
    </mx:GridItem>
    <mx:GridItem width="33%" height="100%" >
    </mx:GridItem>
    </mx:GridRow>
    <mx:GridRow width="100%" height="33%" >
    <mx:GridItem colSpan="2" width="100%" height="100%" >
    </mx:GridItem>
    </mx:GridRow>
    </mx:Grid>
    </mx:Application>
    GRIDBORDERS.AS
    package
    import mx.skins.*;
    import mx.containers.Grid;
    import flash.display.*;
    import flash.utils.*;
    public class GridBorders extends Border
    public function GridBorders()
    super();
    override protected function updateDisplayList( w:Number,
    h:Number
    ):void
    graphics.lineStyle( 15, 0xFFFF00, 0 );
    graphics.beginFill( 0xFFFF00, 1.0 );
    graphics.drawRect( 0, 0, 10, height );
    graphics.endFill();
    private var _borderMetrics:EdgeMetrics = new EdgeMetrics(1,
    1, 1, 1);
    override public function get borderMetrics():EdgeMetrics
    return _borderMetrics;

  • Parallel effect reversing on its own. FLEX BUG.

    Hi,
    The problem is that the parallel effect (that includes resize
    and move) plays well with my custom component, however when it
    reaches the EFFECT_END, it plays in reverse to its original
    position, on its own. I cannot figure it out why. This reverse
    effect is done in half of the duration set.
    This is the code:
    private function setLayoutAndPosition( pod:*, rect:Rectangle
    ):void
    // Transition the location
    var move:Move = new Move( pod );
    move.xFrom = pod.x;
    move.xTo = rect.x;
    move.yFrom = pod.y;
    move.yTo = rect.y;
    move.duration = 2000;
    // Transition the size
    var resize:Resize = new Resize( pod );
    resize.widthFrom = pod.width;
    resize.widthTo = rect.width;
    resize.heightFrom = pod.height;
    resize.heightTo = rect.height;
    resize.duration = 2000;
    var parallel:Parallel = new Parallel();
    parallel.addChild(move);
    parallel.addChild(resize);
    parallel.play();
    I am utilizing an effect taken from the source code of the
    Flex Developer Center called Community Widgets (
    bottom of the page)
    which is working correctly. Its pretty cool eh!.
    BTW: Took me some time to find out why I couldn't run the
    source code. You have to rename ListEvent to any other name.
    If anybody has any idea please le me know,
    Many thanks!
    Jose.

    "jose3" <[email protected]> wrote in message
    news:[email protected]...
    > Hi myIP,
    > After days of trying different things I figured out what
    was the problem,
    > I am
    > not sure if it is a bug or if it is a natural behabiour
    of Flex.
    >
    >
    > The thing is that if you position a component (Canvas
    FE) with
    > constraintColumns and constraintRows and then you apply
    an effect that
    > affects
    > its position or size, after the effect reaches the
    EFFECT_END the
    > components
    > goes back to the original position-size on its own.
    >
    > Here is an example:
    >
    > <?xml version="1.0" encoding="utf-8"?>
    > <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > layout="absolute"
    > applicationComplete="init()">
    >
    > <mx:Script>
    > <![CDATA[
    >
    > import flash.geom.Rectangle;
    > import flash.utils.Dictionary;
    >
    > import mx.effects.Move;
    > import mx.effects.Parallel;
    > import mx.effects.Resize;
    > import mx.events.EffectEvent;
    >
    > private var minimizedLayout:Dictionary = new
    Dictionary();;
    >
    > private function init():void {
    > minimizedLayout[ can ] = new Rectangle( 5, 200, 300, 50
    > }
    >
    > private function onClick(e:Event):void {
    > setLayoutAndPosition( can, minimizedLayout[can] );
    > }
    >
    > private function setLayoutAndPosition( pod:*,
    rect:Rectangle ):void
    > {
    >
    > // Transition the location
    > var move:Move = new Move( pod );
    > move.xFrom = pod.x;
    > move.xTo = rect.x;
    > move.yFrom = pod.y;
    > move.yTo = rect.y;
    > move.duration = 1000;
    >
    > // Transition the size
    > var resize:Resize = new Resize( pod );
    > resize.widthFrom = pod.width;
    > resize.widthTo = rect.width;
    > resize.heightFrom = pod.height;
    > resize.heightTo = rect.height;
    > resize.duration = 1000;
    >
    > var parallel:Parallel = new Parallel();
    > parallel.addChild(move);
    > parallel.addChild(resize);
    > parallel.play();
    >
    > }
    >
    > ]]>
    > </mx:Script>
    >
    > <mx:constraintColumns>
    > <mx:ConstraintColumn id="col1" width="5%"/>
    > <mx:ConstraintColumn id="col2" width="20%"/>
    > </mx:constraintColumns>
    >
    > <mx:constraintRows>
    > <mx:ConstraintRow id="row1" height="5%"/>
    > <mx:ConstraintRow id="row2" height="20%"/>
    > </mx:constraintRows>
    >
    >
    > <mx:Button label="Move Canvas" x="333"
    click="onClick(event)" y="29"
    > height="107"/>
    >
    > <mx:Canvas id="can" backgroundColor="#D91414"
    > left="col1:10" right="col2:0"
    > top="row1:10" bottom="row2:0" />
    >
    > </mx:Application>
    >
    >
    > If this is a normal behabiour (if anybody knows about
    it) I can just try
    > to
    > end the effect after EFFECT_END, else I listen to any
    suggestion.
    >
    > How should I proceed it it is a bug?
    Listen for the effect end, and then explicitly set the width
    and height of
    the affected component to the new size.

  • RemovedEffect error - Yet another Flex bug?

    Is it just me or are there a lot of inexcusible bugs in the Flex framework?  Maybe I'm just not used to working with a "fledgling" technology, I don't know.  But today I ran into an error with the removedEffect of HBox.  I've added a removed effect to the box and sometimes when I try to remove a bunch of items at roughly the same time, I get this error:
    RangeError: Error #2006: The supplied index is out of bounds.
    at flash.display::DisplayObjectContainer/addChildAt()
    at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$addChildAt()
    at mx.core::Container/addChildAt()
    at mx.effects::EffectManager$/removedEffectHandler()
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/callLaterDispatcher2()
    at mx.core::UIComponent/callLaterDispatcher()
    I've Googled it and some folks seem to have had a similar problem but I haven't seen a workaround.  Any ideas?
    Thanks in advance,
    Moshe

    Seems like I was able to work around it by bypassing the removedEvent trigger and just creating triggering my own effect.  I have quite a bit of code so the explanation won't really be done justice by cutting and pasting so I'll try and improvise:
    A little more background... I've been having quite a few issues with the TileList so I've decided to try and create a simple TileList of my own that has only the functionality I need.  The "item renderers" are just mini-HBoxes within a larger "TileList" HBox.  The renderers designate an effect:
    <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" >
          <mx:Parallel id="removedBlurEffect" target="{this}" duration="200"> 
                <mx:Resize heightFrom="{this.height}" heightTo="0"/>
                <mx:Blur blurYFrom="0" blurYTo="30" />
                <mx:Fade alphaFrom="1" alphaTo=".75" />
          </mx:Parallel>
        ... OTHER STUFF ...
    </mx:HBox>
    Later the containing HBox responds to removals from the data provider ArrayCollection and rather than removing the corresponding child HBox, it fires the effect and only once the effect has ended does it remove the child...
    private function onCollectionChange(event:CollectionEvent):void
        if(event.kind != CollectionEventKind.REMOVE) return;
        // Trigger the effect for each of the items that have been removed
        for(var j:int = 0; j < event.items.length; j++)
              // Cast the current data item to be removed (perhaps this is not necessary)
              var eventUploadableImage:UploadableImage = UploadableImage(event.items[j]);
              // Look through the children to find the item that has been removed
              var children:Array = this.getChildren();
              for(var i:int = 0; i < children.length; i++)
                  var currRenderer:ImageTileDisplayItemRenderer = ImageTileDisplayItemRenderer(children[i]);
                  var currImage:UploadableImage = currRenderer.uploadableImage;
                  if(currImage == eventUploadableImage)
                        currRenderer.removedBlurEffect.addEventListener(EffectEvent.EFFECT_END, onRemoveEffectComplete);         
                        currRenderer.removedBlurEffect.play();
                        break;
    private function onRemoveEffectComplete(event:EffectEvent):void
         var renderer:ImageTileDisplayItemRenderer = ImageTileDisplayItemRenderer(Parallel(event.currentTarget).target);
         renderer.removeEventListener(EffectEvent.EFFECT_END, onRemoveEffectComplete);
        this.removeChild(renderer);
    Anyway, seems to work so far.  I'm definitely open to a better way of doing this.
    Thanks!
    Moshe

  • Is this a Flex bug?

    Ok I have enabled deep-linking to allow the user to use the
    back button to navigate to different states.
    I noticed if you are on one state with a ComboBox and click
    it to make it open its drop down. Then hit the back button to go to
    the previous state, the dropdown part of the ComboBox stays on the
    screen. I believe this is probably because the drop down listens
    for you to click away to loose focus but since the back button is
    not a part of the Flash Player it doesn't know it lost focus and
    doesn't disappear?
    So is this a bug or is there a fix?
    Thanks!

    I seem to be having a simular issue with a large flex app. Regardless of browser,
    In a view,
    #Click combobox
    +Combobox pops up
    #Click outside of the browser
    +Combobox closes
    #Click combobox
    +Combobox pops up
    #Click outside of the browser
    +Combobox does NOT close
    In a small application (brand new project) this bug does not appear. But for some reason in a large application I've been help develop on, I get this bug.
    Tia
    Charles

  • Flex bug or Safari bug?

    Hi,
    The scroll wheel does not work in a text area running Safari
    for both Mac and Win. Is this a flex or safari bug?
    Thanks,
    Paul

    Hi,
    The scroll wheel does not work in a text area running Safari
    for both Mac and Win. Is this a flex or safari bug?
    Thanks,
    Paul

  • Flex Bug - Cannot display full screen video in a new window

    My top level application consists of a login screen. When the user logs in successfully, the main application is closed using "this.close()" and a new Window() is opened. Inside the new window I've added the VideoPlayer component and specified a source.
    When I run the application, everything worked as expected. However as soon as I click the full screen option on the VideoPlayer, Flex says:
    Error: Error #3200: Cannot perform operation on closed window.
        at flash.display::Stage/desktop_set_displayState()
        at flash.display::Stage/set displayState()
        at spark.components::VideoPlayer/fullScreenButton_clickHandler()[E:\dev\4.x\frameworks\projects\spark\src\spark\components\VideoPlayer.as:2233]
    Inside the VideoPlayer.as file I've found what I think is the problem:
    2204: // add as a popup
    2205: PopUpManager.addPopUp(this, FlexGlobals.topLevelApplication as DisplayObject);
    I commented out line 2205 and added a new line:
    PopUpManager.addPopUp(this, parentApplication as DisplayObject);
    However I get the same error and it still says the problem is at line 2233 as well, even though line 2233 now reads (due to the additional line I added above):
    // TODO (rfrishbe): Should we make this FULL_SCREEN_INTERACTIVE if in AIR?
    I cleaned my project via the Project menu but I still get the same error message. Any idea how I can resolve this problem?

    Doesn't anyone know?

Maybe you are looking for