I'm not sure this is new bug. but.

If on my project Devele module and Theme Developer module are enabled, on my User Permissions page layout is broken.

See more here: http://www8.zippyshare.com/v/87534745/file.html (or attached file)

Let me know about results (landike@gmail.com)

CommentFileSizeAuthor
theme_developer_with_user_permissions.png38.55 KBlandike

Comments

landike’s picture

When Devel module is enabled only - ALL IS OK.
Only after enabling Theme Developer module (dev version) permissions page is bad.

user.admin.inc file:

My researching:

$row[] = array(
'data' => t('@module module', array('@module' => drupal_render($form['permission'][$key]))),
'class' => 'module',
'id' => 'module-'. $form['permission'][$key]['#value'],
'colspan' => count($form['role_names']) + 1
);

ccoppen’s picture

Any updates on this issue. I'm getting the issue as well. Any ideas on how to fix it? A patch, maybe?

bayahiassem’s picture

Status: Active » Needs review

This is the workaround that I have found to fix the problem :
Replace line 591 in the 'user.admin.inc' file of the User module by this line
$row[] = array('data' => t(drupal_render($form['permission'][$key]).' module'), 'class' => 'module', 'id' => 'module-'. $form['permission'][$key]['#value'], 'colspan' => count($form['role_names']) + 1);

I think the problem is linked to how the 'l' function treat @params.

JeremyFrench’s picture

Status: Needs review » Active
bora-89’s picture

Hmm... Interesting.

When I enabled this module and went to the permissions page (under "sadmin") I even got White Screen Of Death.
I have no time to debug all functions call stack for this type of page request.
Does anyone have that kind of problem?

bzsim’s picture

I have just installed the module and enabled both Devel and Theme Developer. I then went to Permissions and turned on permissions under devel module for my admin role. Once I hit save I too got the white screen of death. I disabled Theme Developer and left Devel enabled and the permissions page came back.

forestmars’s picture

Status: Active » Closed (duplicate)

Is anyone checking their error logs? This is almost certainly because of Devel_Themer's memory usage, as noted in this duplicate issue: http://drupal.org/node/1600774#