[
https://issues.apache.org/jira/browse/FLEX-35210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15749981#comment-15749981
]
Pan Li edited comment on FLEX-35210 at 12/15/16 12:59 AM:
----------------------------------------------------------
in Chrome: (they are three errors not stack of 1 error, it does't have stack in
this case)
{code}
HTTPService.js:185 XMLHttpRequest cannot load
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/data/catalog.json.
Cross origin requests are only supported for protocol schemes: http, data,
chrome, chrome-extension, https,
chrome-extension-resource.org.apache.flex.net.HTTPService.send @
HTTPService.js:185
Language.js:354 prebake2
EventDispatcher.js:70 Uncaught TypeError: Cannot read property 'price' of
undefined
{code}
in firefox:
{code}
not well-formed catalog.json:1:1
prebake2 Language.js:354:7
TypeError: this.product is undefined[Learn More] ProductDetails.js:543:16
productsView.ProductDetails.prototype._bindings<
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/productsView/ProductDetails.js:543:16
org.apache.flex.binding.PropertyWatcher.prototype.updateProperty
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/org/apache/flex/binding/PropertyWatcher.js:190:22
bound self-hosted
org.apache.flex.binding.WatcherBase.prototype.wrapUpdate
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/org/apache/flex/binding/WatcherBase.js:185:5
org.apache.flex.binding.PropertyWatcher.prototype.parentChanged
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/org/apache/flex/binding/PropertyWatcher.js:136:3
org.apache.flex.binding.ContainerDataBinding.prototype.setupWatchers
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/org/apache/flex/binding/ContainerDataBinding.js:226:13
org.apache.flex.binding.ContainerDataBinding.prototype.makeGenericBinding
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/org/apache/flex/binding/ContainerDataBinding.js:193:5
org.apache.flex.binding.ContainerDataBinding.prototype.initCompleteHandler
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/org/apache/flex/binding/ContainerDataBinding.js:174:7
bound self-hosted
goog.events.EventTarget.prototype.fireListeners
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/library/closure/goog/events/eventtarget.js:284:12
goog.events.EventTarget.dispatchEventInternal_
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/library/closure/goog/events/eventtarget.js:381:12
goog.events.EventTarget.prototype.dispatchEvent
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/library/closure/goog/events/eventtarget.js:196:10
org.apache.flex.events.EventDispatcher.prototype.dispatchEvent
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/org/apache/flex/events/EventDispatcher.js:67:12
org.apache.flex.core.ElementWrapper.prototype.dispatchEvent
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/org/apache/flex/core/ElementWrapper.js:211:12
org.
{code}
at least before 05 DEC, it didn't have problem in javascript or swf mode in all
browsers I tested
was (Author: [email protected]):
in Chrome:
{code}
HTTPService.js:185 XMLHttpRequest cannot load
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/data/catalog.json.
Cross origin requests are only supported for protocol schemes: http, data,
chrome, chrome-extension, https,
chrome-extension-resource.org.apache.flex.net.HTTPService.send @
HTTPService.js:185
Language.js:354 prebake2
EventDispatcher.js:70 Uncaught TypeError: Cannot read property 'price' of
undefined
{code}
in firefox:
{code}
not well-formed catalog.json:1:1
prebake2 Language.js:354:7
TypeError: this.product is undefined[Learn More] ProductDetails.js:543:16
productsView.ProductDetails.prototype._bindings<
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/productsView/ProductDetails.js:543:16
org.apache.flex.binding.PropertyWatcher.prototype.updateProperty
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/org/apache/flex/binding/PropertyWatcher.js:190:22
bound self-hosted
org.apache.flex.binding.WatcherBase.prototype.wrapUpdate
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/org/apache/flex/binding/WatcherBase.js:185:5
org.apache.flex.binding.PropertyWatcher.prototype.parentChanged
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/org/apache/flex/binding/PropertyWatcher.js:136:3
org.apache.flex.binding.ContainerDataBinding.prototype.setupWatchers
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/org/apache/flex/binding/ContainerDataBinding.js:226:13
org.apache.flex.binding.ContainerDataBinding.prototype.makeGenericBinding
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/org/apache/flex/binding/ContainerDataBinding.js:193:5
org.apache.flex.binding.ContainerDataBinding.prototype.initCompleteHandler
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/org/apache/flex/binding/ContainerDataBinding.js:174:7
bound self-hosted
goog.events.EventTarget.prototype.fireListeners
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/library/closure/goog/events/eventtarget.js:284:12
goog.events.EventTarget.dispatchEventInternal_
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/library/closure/goog/events/eventtarget.js:381:12
goog.events.EventTarget.prototype.dispatchEvent
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/library/closure/goog/events/eventtarget.js:196:10
org.apache.flex.events.EventDispatcher.prototype.dispatchEvent
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/org/apache/flex/events/EventDispatcher.js:67:12
org.apache.flex.core.ElementWrapper.prototype.dispatchEvent
file:///Users/lipan/Downloads/buildfs/flex-asjs/out/apache-flex-flexjs-0.8.0-bin/examples/flexjs/FlexJSStore/bin/js-debug/org/apache/flex/core/ElementWrapper.js:211:12
org.
{code}
at least before 05 DEC, it didn't have problem in javascript or swf mode in all
browsers I tested
> FlexJSStore and FlexJSStore_JQuery fail with javascript error on starting as
> of 09 DEC
> --------------------------------------------------------------------------------------
>
> Key: FLEX-35210
> URL: https://issues.apache.org/jira/browse/FLEX-35210
> Project: Apache Flex
> Issue Type: Bug
> Affects Versions: Apache FlexJS 0.8.0
> Reporter: Pan Li
> Priority: Blocker
> Fix For: Apache FlexJS 0.8.0
>
>
> I had check out last code freshly at 09 DEC, the SDK build fine and it work
> for simple FlexJS application, but FlexJSStore and FlexJSStore_JQuery could
> not start, they failed with javascript error on starting:
> EventDispatcher.js:70 Uncaught TypeError: Cannot read property 'price' of
> undefined
> I believe FlexJSStore was mostly working in earlier 0.8 code, it can start,
> do basic operations but it crush if I click controls faster. I can't
> reproduce crushing on mouse clicking now since it can't start
> FlexJSStore_JQuery was mostly working in earlier 0.8 code, it can start but
> it crush if I click controls faster and the JQuery buttons had some strange
> UI interaction behaviors: for example button can get larger when I move mouse
> around. I can't reproduce the problems now since it can't start
> If they can start I will retest and include more test results of FlexJSStore
> and FelxJSStore_JQuery problems (when they could start)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)