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 41B85200BE4 for ; Wed, 7 Dec 2016 06:56:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4070B160B2A; Wed, 7 Dec 2016 05:56:00 +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 8C306160B1B for ; Wed, 7 Dec 2016 06:55:59 +0100 (CET) Received: (qmail 66437 invoked by uid 500); 7 Dec 2016 05:55:58 -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 66426 invoked by uid 99); 7 Dec 2016 05:55:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2016 05:55:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A2DF72C03DE for ; Wed, 7 Dec 2016 05:55:58 +0000 (UTC) Date: Wed, 7 Dec 2016 05:55:58 +0000 (UTC) From: "Alex Harui (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FLEX-35196) [FlexJS] [FalconJX] Default method parameter that is static constant does not emit fully-qualified class name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 07 Dec 2016 05:56:00 -0000 [ https://issues.apache.org/jira/browse/FLEX-35196?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Harui resolved FLEX-35196. ------------------------------- Resolution: Cannot Reproduce Assignee: Alex Harui Fix Version/s: Apache FalconJX 0.8.0 Alert.js in HTML.swc looks right to me. > [FlexJS] [FalconJX] Default method parameter that is static constant does= not emit fully-qualified class name > -------------------------------------------------------------------------= ------------------------------------ > > Key: FLEX-35196 > URL: https://issues.apache.org/jira/browse/FLEX-35196 > Project: Apache Flex > Issue Type: Bug > Components: FalconJX > Affects Versions: Apache FalconJX 0.8.0 > Reporter: Josh Tynjala > Assignee: Alex Harui > Fix For: Apache FalconJX 0.8.0 > > > The FlexJS Alert component defines the following method: > static public function show( text:String, parent:Object, title:String=3D"= ", flags:uint=3DAlert.OK ) : void > The final "flags" parameter is emitted like this: > flags =3D typeof flags !=3D=3D 'undefined' ? flags : Alert.OK; > The constant should appear as org.apache.flex.html.Alert.OK instead. > The following runtime exception is thrown: > "ReferenceError: Alert is not defined\n at Function.org.apache.flex.ht= ml.Alert.show (file:///Users/joshtynjala/Development/NextGenAS/examples/Fle= xJSBasics/bin/js-debug/org/apache/flex/html/Alert.js:137:50)\n at AlertB= asics.onAlert1 (file:///Users/joshtynjala/Development/NextGenAS/examples/Fl= exJSBasics/bin/js-debug/AlertBasics.js:105:30)\n at AlertBasics.$EH0 (fi= le:///Users/joshtynjala/Development/NextGenAS/examples/FlexJSBasics/bin/js-= debug/AlertBasics.js:131:8)\n at Function.goog.events.fireListener [as g= oogFireListener] (file:///Users/joshtynjala/Development/NextGenAS/examples/= FlexJSBasics/bin/js-debug/library/closure/goog/events/events.js:728:21)\n = at Object.org.apache.flex.core.HTMLElementWrapper.fireListenerOverride [a= s fireListener] (file:///Users/joshtynjala/Development/NextGenAS/examples/F= lexJSBasics/bin/js-debug/org/apache/flex/core/HTMLElementWrapper.js:48:50)\= n at HTMLButtonElement.goog.events.handleBrowserEvent_ (file:///Users/jo= shtynjala/Development/NextGenAS/examples/FlexJSBasics/bin/js-debug/library/= closure/goog/events/events.js:852:22)\n at HTMLButtonElement.= (file:///Users/joshtynjala/Development/NextGenAS/examples/FlexJSBasics/bin= /js-debug/library/closure/goog/events/events.js:277:38)" -- This message was sent by Atlassian JIRA (v6.3.4#6332)