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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | nodeconnect-1034562.patch | 851 bytes | e2thex |
Comments
Comment #1
e2thex commentedI 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
Comment #2
e2thex commentedhere is a patch would you mind seeing if it takes care of the error?
Comment #3
e2thex commentedComment #4
slashrsm commentedIt works fine for me now.
Comment #5
slashrsm commentedComment #6
e2thex commentedOk 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.
Comment #7
slashrsm commentedOK. 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.