Creating multiple relations with this field is broken (or not even supported?).
Steps to reproduce:
- Create a random relation type.
- Create a content type, add a reltion_select field and choose the relation type.
- Select "unlimited values" (or any amount bigger than two) for this field!
- Try to create a node: Add the first relation. This works fine.
- Try to create a second relation: "Add another item": a new relation_select box appears.
- Click on search: Page reload and fatal error
The view window does not open in a Layover.
Instead the page is reloaded, and I get "Call to undefined function relation_select_views_exposed_form_submit".
Is this a bug or are multiple values not supported?
If not, I would consider this a crucial feature request.
Comments
Comment #1
steveoliver commentedDuke, I notice the error when a RS field is set to unlimited, after hitting "Add another". Patch coming up...
Comment #2
steveoliver commentedok, I added an empty
relation_select_views_exposed_form_submitfunction to b4b5c40. Please get the latest from 7.x-1.x and see if it fixes the issue for you. It seems to work for me. Without this submit defined inrelation_select_element_process, the ajax Search functionality doesn't work.Comment #3
steveoliver commentedThis seemed to be working yesterday, but I'm pretty sure it's not working.
Comment #4
manicato commentedI have still the same problem with the latest DEV, but there is no fatal error.
When I edit a users relation, there are 2 Relation Select boxes. I'm able to add a third box, but when I click the search button on this box, the main edit user form is submitted and not the Relation Select form.
Comment #5
manicato commentedI think the problem I'm facing is not related to this subjet, so I created a new issue:
http://drupal.org/node/1860892
Comment #6
jibize commentedCould be related to http://drupal.org/node/1868056