Download & Extend

Content access rules integration - missing function

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

Status:active» needs review

Patch for this change attached.

AttachmentSizeStatusTest resultOperations
fix-labels-1110860-1.patch736 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 32,291 pass(es).View details

#2

Status:needs review» needs work

The last submitted patch, fix-labels-1110860-1.patch, failed testing.

#3

Subscribing

#4

#5

Status:needs work» needs review

#1: fix-labels-1110860-1.patch queued for re-testing.

#6

Status:needs review» fixed

Committed thanks a lot, hope we can finish Rules integration soon.

#7

Status:fixed» closed (fixed)

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

nobody click here