Reviewed & tested by the community
Project:
Taxonomy Delegate
Version:
6.x-1.3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2010 at 19:07 UTC
Updated:
9 Feb 2011 at 18:56 UTC
This code is incorrect:
// User admin callback.
$any = count(_taxonomy_delegate_my_vocabularies());
if ($any) {
$items['category_admin'] = array(
'title' => '@name',
'title arguments' => array('@name' => variable_get('taxonomy_delegate_menu', t('Administer My Categories'))),
'page callback' => 'taxonomy_delegate_mycategories',
'access arguments' => array('access content'),
);
}
This code will not work on various sites. For instance, this not work on my site. Absolutely all users see 404 error.
There must used custom access callback function. See http://drupal.org/node/109157
| Comment | File | Size | Author |
|---|---|---|---|
| taxonomy_delegate_access.patch | 1.49 KB | leksat |
Comments
Comment #1
finex commentedThe patch works fine
Comment #2
mrfelton commentedYep - please commit
Comment #3
verta commentedsubscribing
Comment #4
mecano commentedindeed !
Comment #5
nancydruHmm, I just did a checkout and that code is there. Did you try the -dev version?
Comment #6
mecano commentednope plain 6.x-1.3 version just as the issue states
Comment #7
nancydruPlease try the -dev version (especially the one rolling out tonight).
Comment #8
gaellafond commentedsubscribing
Comment #9
joachim commentedConfirming the dev version has this bug fixed.
Please could we have a release with this fix?