Posted by FiNeX on March 30, 2011 at 3:49pm
5 followers
| Project: | Content Access |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Hi, testing the content access rules integration I've found a minor bug.
On content_access.rules.inc, function content_access_list_to_checkboxes() calls _content_access_get_operations_lables($operations) which doesn't exists.
A simple fix would be to remove that call:
$labels = _content_access_get_operations_lables($operations);and change the line:
$checkboxes[$op]['#title'] = t($labels[$op]);to:
$checkboxes[$op]['#title'] = t($op);Thanks for the attention.
Comments
#1
Patch for this change attached.
#2
The last submitted patch, fix-labels-1110860-1.patch, failed testing.
#3
Subscribing
#4
re. test failing. #1144510: Fix roles selection in test case
#5
#1: fix-labels-1110860-1.patch queued for re-testing.
#6
Committed thanks a lot, hope we can finish Rules integration soon.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.