Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
simpletest.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2014 at 22:12 UTC
Updated:
19 May 2014 at 21:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
joachim commentedComment #2
joachim commentedPatch for D7 which I'm uploading now so I don't lose it.
(This is obviously going to fail tests while the issue is set to the 8.x branch.)
Comment #4
joachim commentedSetting to needs review.
That patch that needs review is the one that passed tests :)
Comment #5
mondrakeI wonder whether it would make sense to show also the path to the Ajax controller to which the Ajax request was sent to, i.e. something like
Other than that, it looks good to me: with the patch we get two 'verbose' debug lines for each call to drupalPostAjaxForm, one with the Ajax response and one with the updated content, which I believe is a good insight.
Comment #6
joachim commentedDone!
Comment #7
mondrakeThank ypu!
Comment #8
catchCommitted/pushed to 8.x, thanks!
Comment #9
joachim commentedThe D7 patch should be ready to go :)
Comment #10
joachim commented2: 2182315.drupal-7.simpletest-post-ajax-verbose.patch queued for re-testing.
Comment #11
mondrakeWell :)
The patch in #2 does not contain the changes introduced in #6 for D8... and BTW in this case I believe we should have an 'Ajax callback' instead of an 'Ajax controller'.
Comment #12
joachim commentedReroll with the changes form the D8 patch.
Comment #13
mondrakeLooks good, thanks!
Comment #14
David_Rothstein commentedThis still looks pretty odd (at least in Drupal 7) since there are now two separate verbose messages... and the second always seems to say "Ending URL: internal:" before printing the page content. Nonetheless, it's definitely an improvement over what was there before, so I committed it to 7.x - thanks!