Hi @all,

I just installed the new "Meta tag: Context" module which is included in 7.x-1.0-beta1. This module uses hook_context_load_alter() to enable debugging for every context. These messages are ALWAYS displayed - even for normal or guest users.

So it is not possible to use this module in production environments without bothering visitors with "Active context: XXX" messages. Of course you may implement another hook_context_load_alter() in a custom module to disable it again, but I think the module should not enable this without any permission or settings check.

Thanx in advance & cheers

hctom

CommentFileSizeAuthor
#1 metatag-n1817580.patch595 bytesdamienmckenna

Comments

damienmckenna’s picture

StatusFileSize
new595 bytes

#doh. Sorry for forgetting to remove that.

damienmckenna’s picture

Status: Active » Needs review
hctom’s picture

Hehe... no problem. Normally this may be cool feature... but not for all users ;-)

damienmckenna’s picture

Status: Needs review » Fixed

Committed.

damienmckenna’s picture

Status: Fixed » Closed (fixed)

This has been released in 1.0-beta2: http://drupal.org/node/1826908

mamanerd’s picture

I know this issue has been fixed, but I just wanted to let people know that the patch in #1 won't fix the issue for contexts that were created before the patch was applied. To manually fix any contexts that were created before the patch was applied, do this:

  1. Go to admin/structure/context
  2. Find the context you want to edit, click "edit"
  3. Under the Reactions section, next to Debug, click "Remove"
  4. Save
damienmckenna’s picture

@mamanerd: I've opened a new issue to write an update script to remove the 'debug' option: #1921268: Disable 'debug' option in any Metatag Context definitions