Active
Project:
Node2Node
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jul 2008 at 17:16 UTC
Updated:
22 Jul 2008 at 10:22 UTC
After replacing the Category module with Node2Node and setting up a single relationship, I attempted to create a test node of the type identified for the parent of the relationship. I got the following warning after creating the node:
warning: Invalid argument supplied for foreach() in /home/white-raven/domains/secure.white-raven.net/public_html/drupal-6.3/modules/node2node/node2node.module on line 286.
Comments
Comment #1
white-raven commentedFurther information: It appears that, even if I mark both as targets, there is no field or fieldset being created for Node2Node links when I edit either child or parent nodes.
I assume it's related to this problem I'm experiencing. Does Node2Node have known issues with other modules that could be causing this problem?
Comment #2
white-raven commentedFurther information: It appears that the "Make target" action is not working properly (probably related to this issue). If I click the Make target button, the status changes, and maintains if I refresh the view node page. However, if I navigate elsewhere and then navigate to the node from a list, the Make target button reappears (indicating that the target status has reverted for no reason).
Comment #3
Madness commentedhey, i already posted about the main error that you are seeing. The way i found to get rid of it, is if you properly set the relationships first. Then a target, then create pages. For example, first set relationships, then find what you want as a target page, then start making pages. It's just a small error that won't affect anything else. as for the other things, yeah, i've noticed those too.... good luck!