Closed (fixed)
Project:
Open Atrium
Version:
7.x-2.21
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jun 2014 at 04:50 UTC
Updated:
18 Nov 2014 at 19:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
glennnz commentedI am having the same issue.
The Sections are created, but the menu items are not being created.
Comment #2
glennnz commented$original_node is not being found in this code:
I don't know how to fix this...
Comment #3
Argus commentedThey are not Warnings but Notices. I cannot reproduce it. I cloned a Space and created a new Space with the Blueprint. I get no Notices at all. I think the notices are not very important, and could be ignored. Can you repeat the issue for yourself on a clean installation?
Comment #4
glennnz commented@Argus,
Sure; nevertheless some error or bug is causing a low-level error notification to come up.
Also, having the menu items being created by default would be excellent...
Comment #5
glennnz commentedAh, re my last.
There is a setting on the config page for this but it doesn't work; the enu items are not copied from the section pages of the blueprint.
I suspect this is where the error is coming from but don't have the ability to diagnose further.
Comment #6
christianadamski commentedThis is oa_clone
As far as I can tell, it's the only call of oa_clone_save(). And it does not hand over the "original_node" variable. So I would consider this a bug.
Comment #7
christianadamski commentedA patch proposal
Comment #8
christianadamski commentedForgot to change status
Comment #9
glennnz commentedFor this patch I get the Sections being duplicated, but not the menu items, and get this:
Notice: Undefined variable: original_node in oa_clone_save() (line 391 of /profiles/openatrium/modules/contrib/oa_core/modules/oa_clone/oa_clone.module).
Comment #10
Argus commentedCould you update to the latest OA and check if the issue still exists?
Comment #11
glennnz commented@Argus
Updated, problem still exists.
Comment #12
Argus commentedComment #13
mpotter commentedThe patch in #7 looks good to me. It doesn't sound like #9 properly applied the patch since that error message isn't possible when the patch is applied.
So, marking this patch for review.
Comment #14
mpotter commentedHad to apply the patch by hand since it refers to the oa_clone in the oa_core/modules dir rather than the new /app/oa_clone directory. But committed it to the -dev of oa_clone module.