I get this error when I try to open node edit form with Node reference field:


Notice: Undefined index: in _nodeconnect_field_attach_form() (line 16 of /var/www/sites/all/modules/contrib/nodeconnect/nodeconnect.form.inc).

Error produces "white screen of death". I was checking content of variables passed to that function. $form has my field, which is of language 'und'. Variable $language that is passed as an argument is empty, which is worng, I suppose?

Another question.... It is planned to add search functionality to this module? Search would open another dialog, that would allow user to search through content, filter it, ... and select one or more nodes to be added to node_reference field. I am very interested in Node connect module and I also need functionalities mentioned above. I am also prepared to help to release this ASAP.

CommentFileSizeAuthor
#2 nodeconnect-1034562.patch851 bytese2thex

Comments

e2thex’s picture

I will take a look at the error,
I think i can set $language if it is empty that should not be hard.
I will post a patch shortly

e2thex’s picture

StatusFileSize
new851 bytes

here is a patch would you mind seeing if it takes care of the error?

e2thex’s picture

Assigned: Unassigned » e2thex
slashrsm’s picture

It works fine for me now.

slashrsm’s picture

Status: Active » Reviewed & tested by the community
e2thex’s picture

Status: Reviewed & tested by the community » Fixed

Ok the patch is checked in and in the alpha1 release

As for the search functionality. It is something we are discuss and would like to add to the module, but it is not a near term goal. If you want to give it a shot and post a patch I would be very interested in reviewing it and trying to get it in.

Thanks for the interest.

slashrsm’s picture

OK. Will do that, since I need that functionality anyway. I was planning to code something like that in a month or so. Will post it when I have something.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.