Closed (won't fix)
Project:
Drupal core
Version:
8.0.x-dev
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Jan 2013 at 15:14 UTC
Updated:
29 Jul 2014 at 21:46 UTC
Jump to comment: Most recent file
Comments
Comment #1
fagoRelated: http://drupal.org/node/1818556#comment-6946062
Comment #2
fagoComment #3
plachLooks good to me, thanks.
Fixed typo.
Comment #5
berdir@plach: I think you mixed up the interdiff and actual patch file names :)
Just re-uploading the existing files, no commit credit needed :)
Comment #6
plachYes, that :)
Comment #7
catchNot sure what this helps with. Is it blocking a specific issue?
Comment #8
plach#1818556: Convert nodes to the new Entity Field API is already including the code in this patch. It allows to access
$node->titleinstead of$node->title[LANGUAGE_NONE][0]['value']if$nodeis a decorated entity.Comment #9
catchGotcha. I figured it was factoring out code from elsewhere but couldn't place it, makes sense it's for nodes, back to RTBC then.
Comment #10
berdir#5: d8_entitybc-1890242-5.patch queued for re-testing.
Comment #12
das-peter commentedRe-rolled. As far as I can see the conflicts based on changed doc blocks only.
I couldn't run the tests as locally the installation fails because of some
ViewStorageControllerrelated exception - debugging that for now.Comment #13
fagoGiven we decided to convert entities better in a single step anyway, I wonder whether we should leave it as is and save all the field_info_fields() call? Thus, the BC-decorator would only allow for field API like access to entity fields.
Comment #14
plachSince in #1810370: Entity Translation API improvements we agreed to try the ELD solution and thus we need to fix type hints, I'd like to try again the BC decorator way in the node ng issue.
Comment #15
fagoIs there an issue for fixing type-hints? I think we should not commit this unless we have an actual need for it somewhere, as it will slow down BC-mode due to the field-info checks.
Comment #16
plachI'm doing it in the node ng issue (patch around 100K), let's close this. We'll see whether this works over there.