Environment edit link not using relative location
deekayen - November 3, 2009 - 01:47
| Project: | Project Issue File Review |
| Version: | 6.x-2.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | boombatower |
| Status: | won't fix |
Jump to:
Description
I get 403 access denied on http://testing.drupal.org/admin/pifr/environment/edit/1. I have the admin role, which has all permissions except book page deletion.

#1
I assume you meant: http://testing.drupal.org/pifr-2.x/admin/pifr/environment/edit/1.
Works for me, but I am user 1 on that site. Menu hooks seems correct, the permission matches up and everything.
<?php$items['admin/pifr/environment/edit/%'] = array(
'title' => 'Environment',
'page callback' => 'drupal_get_form',
'page arguments' => array('pifr_server_environment_form', 4),
'access arguments' => array('pifr manage environments'),
'file' => 'pifr_server.environment.inc',
'type' => MENU_CALLBACK,
);
?>
Looks like it will require some further investigation.
#2
Yep, not an access issue. I can get to your corrected link. It's the edit link for the environment on http://testing.drupal.org/pifr-2.x/admin/pifr/environment - it is coded to the root of the domain instead of relative to the install.
#3
Hmm...I create those in a view, not sure what else to do as they need the beginning / or they will be relative to whole path.
#4
#5
Unless we have an easy way to fix this in a view, I vote we leave it alone since pifr runs on a root domain normally.