Closed (duplicate)
Project:
Theme developer
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2010 at 09:02 UTC
Updated:
10 Oct 2012 at 02:11 UTC
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)
| Comment | File | Size | Author |
|---|---|---|---|
| theme_developer_with_user_permissions.png | 38.55 KB | landike |
Comments
Comment #1
landike commentedWhen 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
);
Comment #2
ccoppen commentedAny updates on this issue. I'm getting the issue as well. Any ideas on how to fix it? A patch, maybe?
Comment #3
bayahiassem commentedThis 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.
Comment #4
JeremyFrench commentedComment #5
bora-89 commentedHmm... 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?
Comment #6
bzsim commentedI 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.
Comment #7
forestmars commentedIs 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#