One way to drill down into your problem is to use a packet sniffer (like 
Wireshark or CharlesProxy) on the client to see which requests go out to 
the server, and what the server responds. This would allow you to 
distringuish between issues on the client and those on the server.

T.

On 09/30/2013 04:41 PM, kora wrote:
> Hello
>
> In the callback of the qx.io.PartLoader.require request we check the
> state(s).
> If it's invalid or not "complete" a message box will rise.
>
> Now sometimes / sporadically the message box rises ans shows the state
> "error".
>
> - Has anybody an idea for the cause ?
> - May this result of using the cache in the browser ? (We are in a test
> phase and do often update our javscript).
>
>
> Here is the source code:
>
>      openProofFileInNewWindow : function(id, name, pageNo, fileUID,
> fileFormat, status, version)
>      {
>          qx.io.PartLoader.require(["ProofWindow"], function(states)
>          {
>            this.debug("onProofWindowLoaded: state = " + states);
>            if(states && (states[0] == "complete"))
>            {
>              var win = .....
>              .
>              .
>              .
>
>              win.open();
>            }
>            else
>            {
>             
> wpc.ui.dialog.MessageBox.showMessage(wpc.ui.dialog.MessageBox.mtError,
>                                                   this.tr("Error loading
> part!") +
>                                                   "<br><br>Part =
> ProofWindow<br>" +
>                                                   "State = " + states);
>            }
>          }, this);
>      }
>
>
>
> Cheers
>
> Kora
>
>
>
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/PartLoader-request-sporadically-returns-error-state-tp7584692.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to