Closed (fixed)
Project:
Translation Overview
Version:
6.x-2.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2008 at 18:20 UTC
Updated:
18 Dec 2009 at 15:40 UTC
There is something wrong with the implementation of drupal_get_destination in this module as accessed from the translation overview tab.
I think it has to do with drupal_get_destination being called incorrectly because the function returns destination=url already, but the translation_overview code adds an extra destination=. So URLS look like destination=destination%39node%39123 which is wrong.
Comments
Comment #1
drewish commentedwhich version are you using? there aren't any tabs in the 2.x version.
Comment #2
westwesterson commentedbeta 2
Comment #3
drewish commentedthen where are you seeing the links?
Comment #4
westwesterson commentedhttp://example.com/node/536/translateThe links the go to the node edit pages from the translate page.
Comment #5
drewish commentedoh, gotcha, i understand what you mean now--urls are always helpful ;)
but that said, i'm not seeing the behavior you're describing... i'm seeing links like:
is there a particular way that you're getting to the node's translation tab?
Comment #6
westwesterson commentedno, nothing in particular...
full url looks something like this:
http://nm/en/node/738/edit?0=destination=destination%3Dnode%252F777%252F...
clean urls turned on
the 0 is weird...
Comment #7
drewish commentedi'm not really sure what to tell you... do you have any other modules installed that would be rewriting links? if you'd like to message me an account and password i can login and take a look.
Comment #8
drewish commentedComment #9
drewish commentedi'm assuming you got it figured out due to the lack of feedback.
Comment #10
ru.meta commentedI also have links like
node/540/edit?query=destination%3Dadmin%252Fcontent%252Ftranslation_overview_manageMy version is 6.x-2.2
I found that if I replace
$link['options']['query'] = array('destination' => drupal_get_destination());with
$link['options']['query'] = drupal_get_destination();Links work well
Comment #11
ru.meta commentedComment #12
drewish commentedsorry this was committed back on September 21, 2009.