Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Nov 2012 at 17:55 UTC
Updated:
29 Jul 2014 at 21:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerSadly this patch requires #1783196: Get the views plugin manager from the DIC when possible to work in the actual UI, but beside from that some review would be cool.
Comment #2
dawehner#1: drupal-1839624-1.patch queued for re-testing.
Comment #3
dawehner#1: drupal-1839624-1.patch queued for re-testing.
Comment #5
dawehner#1: drupal-1839624-1.patch queued for re-testing.
Comment #6
moshe weitzman commentedThe odd bit I noticed is that the uuid field is declared as numeric. Our uuids are varchar 128. You could fix that or remove uuid from Views since none of our current entity types expose that column (which is problem considering that we want to use Views in content staging scenarios).
I think this could go in before #1783196: Get the views plugin manager from the DIC when possible if needed. It is valid on its own.
Comment #7
dawehnerOh you are absolute right, it should be a string. Not exposing some fields seems to be a no-go (as you never know whether it is needed for some people). Creating a special filter handler for UUID doesn't seem to make sense for me at the moment.
Comment #8
moshe weitzman commentedLooks good.
Comment #9
dawehnerThank you very much to pushing issues forward which are important but not recognized by parts of the VDC team.
Comment #10
webchickJuuuuust asking.
Can I scope-creep this a little and ask whether or not entity.module could not be providing a lot of this "boilerplate" views integration for all entities? It seems odd to have to write this much copy/paste code across all entity types.
Comment #11
dawehnerYou are totally right, this is what we want to do in the longrun, see http://drupal.org/node/1740492#comment-6728924
though the pure amount of dependencies (which have dependencies as well) is interesting.
Comment #12
dawehnerI hope this answer justifies moving back to RTBC
Comment #13
damiankloip commentedThis looks good to go from my point of view. Later down the line, hopefully we won't need this, but now we certainly do I think, for issues like: #1819760: Add a REST export display plugin and serializer integration.. We can then convert the tests to use entity_test module, which in turn uses entityNG which can be serialized properly :) yay.
Comment #14
dries commentedCommitted to 8.x. Thanks.