When we use the lti_tool_provider, we have a strange error with custom_destination. It doesn't seem to work. Further debugging showed that after this snippet:
drupal_alter('lti_tool_provider_launch', $launch_info, $account);
// Calculate the final destination.
if (!empty($launch_info['custom_destination'])) {
$launch_info['destination'] .= '/' . $launch_info['custom_destination'];
}
the destination parameter contained both node/ and the custom path (separated by a slash).
Removing the dot in the assignment, fixed this, but this will probably break other things. Could this be a fault in the lti_tool_provider_og module that doesn't unset custom_destination when it should maybe (with hook lti_tool_provider_launch)?
Comments
Comment #1
nve commentedAdding the destination to the class path is designed behaviour. The preferred solution from the project leader (jzornig) is using a custom launch variable. So using custom_absolute_destination instead of using custom_destination.
Comment #2
nve commentedComment #3
kenianbei commentedClosing as 7.x is no longer supported.