Closed (fixed)
Project:
Panels
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 May 2013 at 22:11 UTC
Updated:
9 Jan 2017 at 19:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
grisendo commentedI attach a patch
Comment #2
grisendo commentedComment #3
grisendo commentedI forgot to tell that this issue is a bad thing since when translating a node, reference to original-language NID (TNID) is done via a url parameter, so GET parameters are needed to be kept. Otherwise a new node will be created with no language-relationship with the original one.
Comment #4
grisendo commentedComment #5
mlanth commentedRecently encountered this issue myself, and found this issue through searching.
Everything is working fine after applying grisendo's patch.
Comment #6
xaa commentedpatch #2 working. thank you.
Comment #7
jeroentPatch was also working for me
Comment #8
japerrySo there are some other underlying issues with the node_query, I made some changes here that needs review before it gets committed.
Comment #9
joelpittet@japerry Why remove the 'return' statement for drupal_not_found? It doesn't look like drupal_not_found() has a die() or exit() so this code could continue to execute. (I could be wrong, but see any when perusing drupal_deliver_page...)
drupal_goto() should be fine to remove because it calls drupal_exit() which ends in an exit statement and nothing diverts that execution path. So +1 to that change.
Comment #11
japerryUpdate with MENU_NOT_FOUND instead of the page deliver function.
Comment #12
joelpittetBeen using this for some time now. Looks good, back to RTBC.
Comment #13
damienmckennaComment #14
japerryThanks Joel for the update -- this looks good. fixed!
Comment #16
sillo commentedHello. Awesome patch - it worked like a charm!
(For non-devs, you can use module Patch Manager to patch modules - please read description about security on production sites).
Is this patch / fix going to be implemented in the next Panels update?
Im not experienced with patches, but if Panels gets a update, would i have to re-patch the module?
Comment #18
kopeboyWhat module/submodules do we have to enable to be able to do this?