Closed (fixed)
Project:
Node Reference URL Widget
Version:
7.x-1.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Apr 2011 at 04:04 UTC
Updated:
4 Jan 2014 at 00:53 UTC
Jump to comment: Most recent
Comments
Comment #1
albert9000 commentedOkay, it is a conflict with the Organic Groups module. I'm using 7.x-1.0.
I'm going to give the dev version a try and see what happens.
------------------------------
Update: The dev version of Organic Groups still conflicts with this module.
Comment #2
zualas commentedI get the same issue as described above.
Comment #3
quicksketchHey guys, I tried this with version 1.0 of OG, but I can't cause any problems. Do you guys have the "display_errors" option on in php.ini? Just getting a blank white screen doesn't tell me very much.
Comment #4
albert9000 commentedThanks for taking a look at this! The error reads:
Fatal error: Call to undefined function og_context() in D:\WampServer\www\proj2\sites\all\modules\nodereference_url\nodereference_url.module on line 171I'm using version 7.x-1.10
Comment #5
quicksketchAh, it looks like that function is no longer directly in the og.module. If you turn on the og_context.module the error will go away, but we should do a check for "if (module_exists('og_context'))" instead of checking for "og".
Comment #6
Crell commentedI can confirm this bug, and that the workaround in #5 works. The "create" link does not show up, however.
Comment #7
quicksketchThis section of code isn't responsible for making the link show up in any way, it's just about adding "gids" to the link URL (if there's a link already) so that the newly created node keeps the context of the node from which it was created.
I've committed this fix to just change the module_exists() line. If there are further bugs with it not doing what it's supposed to do with OG, let's handle that issue separately.