Closed (won't fix)
Project:
Translation Management
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Dec 2010 at 22:09 UTC
Updated:
8 Jan 2013 at 17:43 UTC
Attached patch removes the ampersand in the parameters from icl_content.wrapper.inc. Otherwise, warnings show up in the logs. I wasn't 100% sure about hook_node_prepare_translation() but included is the change for that as well.
| Comment | File | Size | Author |
|---|---|---|---|
| translation_management-node-hooks-by-value.patch.txt | 2.38 KB | sillygwailo |
Comments
Comment #1
Matroschker commentedHello,
I got this error if activating "Content" (7.x-1.0-beta1) module from Translation Management:
Warning: Parameter 1 to icl_content_node_prepare() expected to be a reference, value given in module_invoke_all() (Zeile 817 von C:\xampp\htdocs\documentation\includes\module.inc).
Has anybody an idea? Currently we are in phase to setting up productive environment and we need the Translatio Management project.
I know this issue --> http://drupal.org/node/1010166 (I don't know if my error is same)
but the patch file is exactly the same as I have in my Drupal installation.
Thanks for help.
Mathias
Comment #2
mlecha commentedsubscribe
Comment #3
jan101 commentedsubscribe
Comment #4
tebb commentedFollowing.
Comment #5
wienczny commentedsubscribe
Comment #6
anouPatch worked for me. Thanks
Comment #7
wienczny commentedPatch worked for me, too. Thanks
Comment #8
jhorvat commentedPatch worked for Drupal 7.7 too. Thanks!
Comment #9
candelas commentedsubscribe
thanks for the module! :)
edit: patch applied on drupal 7.7 and translation_management-7.x-1.x-dev
it works, thanks :)
Comment #10
tzanis commentedhi, because iam new in drupal and i have the same problem how to install the above patch?
Comment #11
candelas commentedsearch in documentation.
they have a page on how to do it with git
Comment #12
astutonetIn my case, the same patch returns this error:
I'm using D 7.8 & the last dev version of Translation Management module.
Any ideas?
Tks.
Comment #13
miro_dietikerCurrently we're reimplementing this module from scratch in our codesprint:
http://drupalevents.ch/drupal/codesprint-2012
Thus all current bug reports and feature requests are dropped. Please recheck once the the sprint is completed.
Comment #14
kissaki commentedWhat is the outcome of the codesprint? It seems nothing has come of it?
Comment #15
el_reverend commentedI would be interested in the outcome of either the code sprint or the advances made in the Translation Management module. Any suggestions
Comment #16
hgneng commentedThe patch works for Drupal 7.14. Why not merge it to dev?
@tzanis how to install patch (for Linux user):
$ cd sites/all/modules/translation_management/icl_content
$ wget http://drupal.org/files/issues/translation_management-node-hooks-by-valu...
$ cp icl_content.wrapper.inc icl_content.wrapper.inc.bak
$ patch -p1 icl_content.wrapper.inc -i translation_management-node-hooks-by-value.patch.txt
Comment #17
miro_dietikerkissaki, thank you for asking...
You can be sure that amazing things came out when 25 people work a full week on such a topic.
The output is the NEW module TMGMT (Translation management tools) which is a full rewrite. This module was too broken and we didn't want to start cleaning it up and make something completely different out of it.
http://drupal.org/project/tmgmt
Note that next week we're having a second codesprint in our office for this module and things turn out to be amazing. All major translation providers are about to integrate in our module and we're kinda architectural driver for future. This is our german announcement for next week:
http://www.md-systems.ch/blog/2012-05/zweiter-sprint-fuer-translation-ma...
Comment #18
vb_swapnil commentedThanks for the patch.
Patch applied on drupal 7.14 and translation_management-7.x-1.0-beta1 and its works fine, thanks :)
use following link to apply patch -http://drupal.org/patch/apply
Comment #19
hectorelgomez commentedPerfect, it works.
Thank you.
Comment #20
sillygwailoIt sounds like from comment #17 that http://drupal.org/project/tmgmt is the way forward for doing translation management and this patch won't get applied to this project. I'm going to close this, with the note that my patch in the original seems to work for those that need it.