https://bugzilla.wikimedia.org/show_bug.cgi?id=29390
Web browser: ---
Bug #: 29390
Summary: dieUsage, doneCallback, handleAJAXSave Errors are not
shown. Should doneCallback better show error messages
directly?
Product: MediaWiki extensions
Version: any
Platform: All
URL: http://www.mediawiki.org/wiki/Extension:LiquidThreads
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: LiquidThreads
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Depends on: 29200
Classification: Unclassified
This bug was initially created as a clone of Bug #29200; Brion wrote:
Workarounds for failures to handle error conditions in the JavaScript code
exist.
The error info from the dieUsage appears to perfectly correctly make it back to
the 'doneCallback' function in 'handleAJAXSave' (via the actual call in
liquidThreads.doNewThread ).
However, doneCallback tries to handle error conditions by submitting the same
form as non-Ajax in the hopes that that code path will show an error as well,
which apparently isn't ending up having the expected results.
It should instead probably show the error message directly.....?
Does this need more general or more specific handling for particular kinds of
errors that we can't report back cleanly through this interface?
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l