autocomplete conflict with additional output from devel.module

gpk - August 13, 2009 - 16:06
Project:Masquerade
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

If you ask devel to output querylog or page generation time or mem usage then it adds stuff to the page that gets added to the AJAX callback for the autocomplete box in the masquerade block.

The only related devel issues I can find are:
#123951: put querylog before </body> in DOM and properly place the querylog for AHAH requests
#284307: When Display setting is activated, AHAH requests are broken
also #328223: Docs: Certain settings can lead to JavaScript errors which references an update to the README ... which includes a workaround for modules under "compatibility notes" ... http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/devel/READM...

#1

deviantintegral - August 28, 2009 - 19:22
Status:active» needs review

Weird - I can't seem to replicate this on the latest -dev version, but AFAICT it should be showing itself. I've attached a patch which changes the call to drupal_json() so we set the HTTP header properly, as well as set the proper variable for devel.

AttachmentSize
548400_autocomplete_devel_conflict.patch 1.02 KB

#2

deviantintegral - August 31, 2009 - 17:29
Version:6.x-1.1» 6.x-1.x-dev
Status:needs review» fixed

I've committed this to the 6.x-1.x-dev branch.

#3

System Message - September 14, 2009 - 17:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.