Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
file system
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
1 Nov 2013 at 19:19 UTC
Updated:
29 Jul 2014 at 23:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sweetchuckComment #2
sweetchuckComment #3
chx commentedThis is correct but I have no idea why it didn't fail previously so I am assigning this to yched in hope he has some insight. That should not block committing this.
Comment #4
yched commentedIndeed, nice catch. Test classes that have seen addition after addition are sorry stacks of crappy code...
Refactored/cleaned a bit more, but reverted the unrelated entity_get_info() / field_info_instances() changes, I'm not in favor of doing those bit by bit in unrelated issues.
Comment #5
sweetchuckOK. RTBC for patch #4
Comment #6
yesct commentedIs that right? "For untranslatable fields only Language::LANGCODE_NOT_SPECIFIED is available." I thought things could know their language even if they were not translatable.
.
Comment #7
yesct commentedtagging d8mi as it is related to translation
Comment #8
yesct commentedit makes sense to not do these changes bit by bit. but which issue is doing them? let's link to it.
Comment #9
xano4: field_translation_test-2125497-4.patch queued for re-testing.
Comment #12
yched commentedReroll
@YesCT
Yes, in the new Entity/Field API, but this is still testing the "old" field_language_*() API, that behaves a little differently. This API is being deprecated, but there are still a couple blocker issues, for now it's still here along with the corresponding tests.
Comment #13
sweetchuck#2076445: Make sure language codes for original field values always match entity language regardless of field translatability
Comment #14
areke commentedThe patch didn't apply anymore, so I re-rolled it.
Comment #16
berdir14: 2125497-14.patch queued for re-testing.
Comment #18
sweetchuckComment #19
yched commentedComment #20
yched commentedBack to RTBC...
Comment #21
webchickNo longer applies, presumably because we just removed the old translation API.
One more time! :)
Comment #22
yched commentedHeh :-)
In the end, there's actually not much left to fix here now, the faulty test has been removed along with the old translation API.
What's left from the patch are just minor streamline / cleanups with no functional impact.
Reuploading it, and setting back to RTBC (since what's left has been RTBCed before), but this doesn't really match the issue title & category anymore.
Comment #24
berdir22: field-trans-old-field-name-2125497-22.patch queued for re-testing.
Comment #25
berdirRandom test fail.
Comment #26
webchickCommitted and pushed to 8.x. Thanks!