Closed (fixed)
Project:
Spaces OG Clone
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 May 2012 at 22:21 UTC
Updated:
5 Jul 2012 at 16:51 UTC
The need is to clone nodes later, after the node is cloned, between groups. With all the hooks with nodereferences, etc., want to re-use spaces og code.
don't have anything right now to do it that's generic enough contrib, but got some changes that needed to do it.
| Comment | File | Size | Author |
|---|---|---|---|
| spaces_og_clone_solo.patch | 5.97 KB | hefox |
Comments
Comment #1
hefox commentedExplanation of changes.
Bug, eep.
Having to supply username and uid for settings is not good developer wise, asking for problems.
So don't need to specify name
So can create the nid_map for noderefernce/text replacements when don't already have the nid_map (e.g. post clone cloning)
Name spacing to indicate it can be called later
If called from a different space, this prevents that space from being lost.
Default to original author if uid not set
Comment #2
btopro commentedMakes sense to me, Rolling this into an alpha build.