Active
Project:
Drupal core
Version:
main
Component:
ajax system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2011 at 14:19 UTC
Updated:
29 Aug 2023 at 10:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
effulgentsia commentedCan you provide a step-by-step example that demonstrates an AJAX response being corrupted by screen error reporting?
Comment #2
rfayHere's what a failure looks like. We've all seen a million of them. And of course they really have nothing to do with AJAX:
Essentially, all you need for for anything at all to go wrong in the batch, and you get something like this. An experienced person can read what it says and sort out the problem, but most people can't. And of course "An AJAX HTTP Error occurred is completely misleading.
This error was just caused by adding
in batch_example_op_1() of the batch_example in Examples project. Pretty much any error output during a batch operation causes things like this.
Comment #11
larowlanWe triaged this issue as part of a Bug Smash call - the question is does this belong in the Ajax system or in the Batch system
I've definitely still seen this error.
Comment #16
catchIs this a duplicate of #3049216: Uncaught Drupal.AjaxError with empty response text at this point?