Closed (fixed)
Project:
Vote Up/Down
Version:
6.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
18 Aug 2011 at 17:02 UTC
Updated:
3 Oct 2011 at 08:41 UTC
Jump to comment: Most recent file
dereine is clever and his attached patch allows the node widget to work properly with references or other potential cases when $values->nid might not exist in the handler's render.
dereine++
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | vud-6.x-2.x-1253390-1.patch | 2.85 KB | seandunaway |
| vud-6.x-2.x-views-fix-nid.patch | 1.22 KB | seandunaway |
Comments
Comment #1
seandunaway commentedComment #2
seandunaway commentedRe-rolled to get comments working. Apparently it's not only with node references but with any view in Views 3.
Attached.
Comment #3
seandunaway commentedApplies cleanly against 6.x-3.x-dev also.
Comment #4
marvil07 commentedI think you are right. It seems like views behaviour have changed from 2 to 3. Now it do not add the primary key of the base table by default. So yes, we would need to change it to be explicit about the primary key we are using on our views field.
I'm now taking a look at the patch.
Thanks for reporting it and providing code :-).
Comment #5
marvil07 commentedI have just pushed this patch to 6.x-3.x and 6.x-2.x.
What's new on the patch: same change for vud_node_handler_field_widget handler and minor detals on comments.
Thanks all,