Closed (fixed)
Project:
Views (for Drupal 7)
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
25 Apr 2012 at 19:21 UTC
Updated:
10 Sep 2012 at 23:26 UTC
Jump to comment: Most recent file
Similiar to multiple issues we try to kill all implicit relationships between entity like tables, as it both fixes potential problems with fieldapi, but also for similar behavior everywhere.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 1547726-6.patch | 1.59 KB | damiankloip |
| #1 | 1547726.patch | 1.58 KB | dawehner |
Comments
Comment #1
dawehnerSo here is a small patch, which should work, but definitive needs manual testing.
So what has to be tested
* Don't apply the patch ... create a view with node_revision as base and add fields from node and node_revision
* Additional add a view with node as base and add fields from both as well.
* Once you have done this, try to apply the patch and see whether everything still works as expected.
Comment #2
damiankloip commentedHave just given this a good test, all works as expected. Views relationships are also fixed after the patch is applied.
Comment #3
dawehnerThanks for the review!
Committed to 7.x-3.x, this needs a port to 8.x-3.x :(
Comment #4
tim.plunkettI'd like to postpone this on annotations.
Comment #5
dawehnerMh i don't see a reason why this needs annotations... this issue just changes node.views.inc :)
Comment #6
damiankloip commentedYep, I think we need to get this in to keep 7.x and 8.x synched.
Comment #7
aspilicious commentedsame
Comment #8
dawehnerThis is committed
Comment #9
tim.plunkettOh, I meant to post that on #1690146-4: Create a generic entity bundle filter, guess I did it on two tabs :)
Committed: http://drupalcode.org/project/views.git/commit/46674b7
Comment #11
andypostThis change breaks all existing views because all JOINS happen on VID field but previously was on NID
Follow-up issue #1321288: How to: make views get and display ALL revisions of a given content (now: views only gets the latest revision)
Comment #12
andypostActual fix to roll back regression and provide node_revision.nid field #1754354-8: Node revisions only displays latest revision