Bug #24517
closedImprove ExtDirect error handling
0%
Description
ExtDirect resonds on timeout with
Error parsing json response: null
This should instead end up with a human-readable error message and, if possible, more details, what went wrong.
Maybe this helps a bit http://svn.geoext.org/ext/3.3.1/docs/source/JsonProvider.html
Had a discussion with Stefan, he's aware of this issue and will think about it.
(issue imported from #M16971)
Files
Updated by Stefan Galinski almost 14 years ago
Hi Steffen,
I implemented a solution that triggers an information flash message with a nice information text. The backtrace information isn't shown in this case. Please review the patch and give me your opinion.
I'am not sure if this patch can be added to 4.5, because it adds two new language labels.
Updated by Steffen Gebert almost 14 years ago
Importance(Error Handling) > Importance(Labels) :-)
I'd suggest to call it "Connection problem"
Could the FlashMessage be red? (it's an error) ;-)
I've also adjusted it to the recent change of outputting LLL labels.
What a pity that the relogin doesn't use ExtDirect - those calls silently fail (before and after the patch).
Updated by Stefan Galinski almost 14 years ago
Thanks for your changes. I added the patch to the core mailinglist. Happy voting! :-)