Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
locale.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Jan 2012 at 15:19 UTC
Updated:
29 Jul 2014 at 20:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
aspilicious commentedfirst should fail, second one will pass
Comment #2
aspilicious commentedComment #3
aspilicious commentedI added an extra newline (by accident), will remove that in a next reroll
Comment #4
xjmAwesome! Nice simple fix. Going to wait and see what the bot is, though. This seems borderline major, but @aspilicious and I decided to check with Gabor.
Comment #5
xjmHmm, the version without the test fix also passed. Looks like we do need more test coverage.aspilicious pointed out that locale requires language; duh. So the test passed anyway.
Comment #6
aspilicious commentedLocale requires language so 1 en 1B will always succeed...
I guess this new file should fail...
Comment #8
aspilicious commentedOk, now I'm happy.
So this patch is the same as 1b without the extra newline.
Comment #9
gábor hojtsyGood catch. This was certainly a miss when the language related code was moved to language.module. Looks good, it is just a 1-1 move of a hook.
BTW Another related issues where we are making node and path module closer to rely only on language module for their language services (vs. locale module) is #1387608: Unify language_list() and locale_language_list(), help welcome :)
Comment #10
dries commentedLooks good and was clearly an oversight in an earlier patch. Committed to 8.x. Thanks.
Comment #11
gábor hojtsyTagging for base language system.