Needs work
Project:
Entity reference
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Jul 2015 at 16:02 UTC
Updated:
15 Dec 2020 at 18:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
aaronbaumanOK, this ended up touching a bunch of different pieces, including a related bug in entityreference_field_validate().
Fortunately the patch is relatively straightforward, and includes tests.
In this patch:
Comment #3
aaronbaumanSlightly updated test
Comment #4
rooby commentedThis fixes the issue of validation being skipped if there are no valid results returned from the view.
Comment #5
rooby commentedThis is arguably major since there is incorrect validation happening, which can cause data corruption.
Comment #6
spotzero commentedThe fix works, but the new tests pass with or without the code fixes. So the tests don't actually appear to test this issue.
Comment #7
drummWe have this issue present here on the issue page, the related & parent issue fields.