- πΊπ¦Ukraine AstonVictor
I'm closing it because the issue was created a long time ago without any further steps.
if you still need it then raise a new one.
thanks
I found this bug after I enabled Boost module. It tries to get system path using drupal_get_normal_path(). drupal_get_normal_path() doesn't return correct system path because we use slash at the end of our alias. I implemented hook_url_inbound_alter in Trailing Slash module and after that drupal_get_normal_path() works fine. I found this issue on taxonomy term pages only. All other pages work fine for me.
Steps to reproduce the issue:
Here is my code which I added to Trailing Slash module:
/**
* Implements hook_url_inbound_alter().
*/
function trailing_slash_url_inbound_alter(&$path, $original_path, $path_language) {
if (substr($original_path, -1) == '/') {
// Remove trailing shash.
$original_path_no_slash = rtrim($original_path, '/');
// Lookup the path alias.
if ($source = drupal_lookup_path('source', $original_path_no_slash, $path_language)) {
$path = $source;
}
}
}
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I'm closing it because the issue was created a long time ago without any further steps.
if you still need it then raise a new one.
thanks