Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5AC68200B45 for ; Fri, 15 Jul 2016 12:21:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5975A160A61; Fri, 15 Jul 2016 10:21:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9DFE8160A6C for ; Fri, 15 Jul 2016 12:21:21 +0200 (CEST) Received: (qmail 19526 invoked by uid 500); 15 Jul 2016 10:21:20 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 19506 invoked by uid 99); 15 Jul 2016 10:21:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2016 10:21:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7D5FF2C027F for ; Fri, 15 Jul 2016 10:21:20 +0000 (UTC) Date: Fri, 15 Jul 2016 10:21:20 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-35103) [FlexJS] SimpleAlert.show() in flash - can't click OK MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 15 Jul 2016 10:21:22 -0000 [ https://issues.apache.org/jira/browse/FLEX-35103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15379187#comment-15379187 ] ASF GitHub Bot commented on FLEX-35103: --------------------------------------- GitHub user yishayw opened a pull request: https://github.com/apache/flex-asjs/pull/9 Fix ticket FLEX-35103 This fixes the issue, but we might have a bigger issue in that org.apache.flex.events.MouseEvent does not extend org.apache.flex.events.Event which might confuse client. You can merge this pull request into a Git repository by running: $ git pull https://github.com/yishayw/flex-asjs develop Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flex-asjs/pull/9.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #9 ---- commit 5a3570bba679aca137c3a727d8d334fb3e1447d8 Author: yishayw Date: 2016-07-15T10:15:50Z Fix ticket FLEX-35103 ---- > [FlexJS] SimpleAlert.show() in flash - can't click OK > ----------------------------------------------------- > > Key: FLEX-35103 > URL: https://issues.apache.org/jira/browse/FLEX-35103 > Project: Apache Flex > Issue Type: Bug > Components: FlexJS > Affects Versions: Apache FlexJS 0.6.0 > Reporter: Yishay Weiss > > Whenver I click on OK, I get > TypeError: Error #1034: Type Coercion failed: cannot convert org.apache.flex.events::MouseEvent@749ff21 to org.apache.flex.events.Event. > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at org.apache.flex.events.utils::MouseEventConverter$/mouseEventConverter()[c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\src\main\flex\org\apache\flex\events\utils\MouseEventConverter.as:92] > Test case: > From the main application do: > SimpleAlert.show("hi", this); -- This message was sent by Atlassian JIRA (v6.3.4#6332)