Closed (fixed)
Project:
Entity Reference View Widget
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2012 at 07:03 UTC
Updated:
31 Jan 2014 at 13:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
bojanz commentedCommitted, thanks!
Comment #3
leksat commentedIf node form has several Entity Reference View Widget fields, pager does not work. This happens only if "#limit_validation_errors" is set.
The reason is that "#value" of a button form element is not set, and Drupal automatically sets it to empty string. Then, as we have several buttons on the form, Drupal does not know which handler should be executed. See http://stackoverflow.com/a/13025563/580371 for details.
Attached patch solves the problem.
Comment #4
m42 commentedI just encoutered the pager issue, and I confirm entityreference_view_widget-pager_validation.patch fixed it.
+1 for a commit !
Comment #5
bojanz commentedCommitted, thanks!
Also, checkout the 2.x branch, the 1.x one is dead ;)