From issues-return-11302-apmail-flex-issues-archive=flex.apache.org@flex.apache.org Wed Dec 7 16:09:58 2016 Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AFF8419109 for ; Wed, 7 Dec 2016 16:09:58 +0000 (UTC) Received: (qmail 83857 invoked by uid 500); 7 Dec 2016 16:09:58 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 83832 invoked by uid 500); 7 Dec 2016 16:09: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 83814 invoked by uid 99); 7 Dec 2016 16:09: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 16:09:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7B8282C03DE for ; Wed, 7 Dec 2016 16:09:58 +0000 (UTC) Date: Wed, 7 Dec 2016 16:09:58 +0000 (UTC) From: "Josh Tynjala (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (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 [ https://issues.apache.org/jira/browse/FLEX-35196?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1572= 9116#comment-15729116 ]=20 Josh Tynjala edited comment on FLEX-35196 at 12/7/16 4:09 PM: -------------------------------------------------------------- Looks like another case of old framework JS files in bin/js-debug after upg= rading the SDK. A clean build has the right content. was (Author: joshtynjala): Looks like another case of old framework JS files in bin/js-debug after upg= rading the SDK. > [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)