Needs work
Project:
UUID Features Integration
Version:
6.x-1.x-dev
Component:
uuid_node
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Jan 2011 at 10:29 UTC
Updated:
14 Jan 2012 at 01:13 UTC
Jump to comment: Most recent file
Comments
Comment #1
chaps2 commentedPatch attached.
Comment #2
chaps2 commentedThinking about this some more, I wonder whether it would be better to add another content selection type for nodes with translations. At the moment the content type displays all nodes including translations. It would be better perhaps if the content selection only displayed default language nodes and exported the node translations automatically.
Just a thought.
Comment #3
chaps2 commented...and that thought turned into another patch.
This one restricts the content selection to nodes either with no translation or that are the "source" node for other translations.
If other languages are enabled then selected nodes will have any existent translation nodes for all enabled languages exported with them.
This patch depends on the one I've just posted here: #1049760: New hook invoked after all nodes have been rebuilt.
As always comments and feedback very welcome...
Comment #4
ryan_courtnage commentedAttached is reroll in 2 flavours - one with the dependancy of #1049760 included in the diff. One without (so apply patch for #1049760 after applying this one)
Comment #5
ryan_courtnage commentedThe patch including #1049760 had a bug. Attached is fixed version.
Comment #6
dsnopekShouldn't this patch call i18n_selection_mode('reset') after it's finished to clean up?
Personally, I don't think node_get_by_uuid() should be calling db_rewrite_sql() at all: #1261196: node_get_by_uuid should not pass query through db_rewrite_sql