Download & Extend

autocomplete conflict with additional output from devel.module

Project:Masquerade
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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...

Comments

#1

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

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

Status:fixed» closed (fixed)

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

nobody click here