Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
translation_entity.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2012 at 19:38 UTC
Updated:
29 Jul 2014 at 21:34 UTC
Jump to comment: Most recent file
Comments
Comment #1
tim.plunkettThat's something that can be worked around, right? I agree it'd be nice to clean up though.
Comment #2
andypostHere's a fixed tests
Comment #3
tim.plunkettThis class now needs a
protected $vocabulary;with docblock.Defaults to NULL.
This could just be
= $bundle_name ?: $this->bundle;Comment #4
andypostHere's a re-roll, fixed #3
Comment #5
yesct commentedhow about
Or something like that.
Otherwise, coding standards and docs wise this looks good. And the changes make sense.
Is #3
a followup but not directly needed to fix these tests?
I did not manually try the tests.
Comment #6
tim.plunkettMissed the @var part. YesCT mentioned that it might be helpful to explain what leaving $bundle_name NULL would do.
Comment #7
yesct commentedComment #8
tim.plunkettThis is not a bug because something is broken, it's just blocking another major because it is inflexible.
Comment #9
tim.plunkettWhoops, missed the rename as well.
Comment #10
andypostYes, this normal
also
CommentTranslationUITest::createEntity($values, $langcode, $node_bundle = NULL)already uses 3rd arbumentComment #11
andypostx-post
Comment #13
andypostGot it, term required bith vid and vocabulary_machine_name to be saved, so override method should be here
Comment #15
andypost#13: 1848904-core-et-test-bundle-13.patch queued for re-testing.
Comment #16
yesct commentedI checked the code again. The changes were made and it's still looking very good.
The issue summary needs to be clarified to address tim and andy's conversation regarding the approach.
It's not required, but using the issue summary template may result in making it easier on a committer when they come to evaluate this RTBC.
http://drupal.org/node/1155816
Comment #17
webchickCommitted and pushed to 8.x. Thanks!
Comment #18.0
(not verified) commentedUpdated summary