Active
Project:
Atrium Scrum
Version:
6.x-1.0-alpha4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2012 at 08:36 UTC
Updated:
17 Dec 2012 at 08:37 UTC
Backlog Directory is not picking up part of domain
Example:
http://hyperknightservers.com/hub/gametesters/scrum/backlog
http://hyperknightservers.com/gametesters/scrum/backlog
Produces 404 happens when you create a task or user story.
Line and file that controls this:
<?php
include_once('atrium_scrum_backlog.features.inc');
/**
* Implementation of hook_automodal_close_args_alter().
*/
function atrium_scrum_backlog_automodal_close_args_alter(array &$args) {
$request = explode('/', $_REQUEST['q']);
<strong> $args['redirect'] = '/' . $request[0] . '/' . $_GET['destination'];</strong>
}
For a temp fix change
$args['redirect'] =<strong> '/'</strong> . $request[0] . '/' . $_GET['destination']; to
$args['redirect'] = '<strong>/hub/</strong>' . $request[0] . '/' . $_GET['destination'];(Replace Hub with the correct directory.)