[qooxdoo-bugs] [Bug 4879] Problems with qx.data.store.Json not calling "loaded" event
Brought to you by:
ecker,
martinwittemann
From: <bug...@qo...> - 2011-03-31 07:19:08
|
http://bugzilla.qooxdoo.org/show_bug.cgi?id=4879 --- Comment #10 from Tristan Koch <tri...@1u...> --- Thanks for your detailed report. I'm not sure about what is going on yet, so let us dig a little deeper. _createRequest in qx.data.store.Json creates a qx.io.remote.Request with the URL passed to the store. In other words if the remote.Request fails with the URL, so should store.Json. To make sure we're talking about the same thing, could you please run the code below in your environment and report the log output for FF and IE? <snip> // Alias defined above // Resolve URL with alias and resource manager qx.log.Logger.debug("alias: " + alias); var path = qx.util.AliasManager.getInstance().resolve(alias); qx.log.Logger.debug("path: " + path); var url = qx.util.ResourceManager.getInstance().toUri(path); qx.log.Logger.debug("url: " + url); var req = new qx.io.remote.Request(url, "GET", "application/json"); req.addListener("completed", function() { qx.log.Logger.debug("completed"); }, this); req.addListener("changeState", function(e) { qx.log.Logger.debug("state: " + e.getData()); }, this); </snip> Are you passing a delegate to qx.data.store.Json? I'm wondering what kind of request is sent in FF by store.Json. To find out, please add the following code right above this.__request.send() <snip> qx.log.Logger.debug("crossDomain: " + this.__request.isCrossDomain()); </snip> -- Configure bugmail: http://bugzilla.qooxdoo.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. |