Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
language system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2010 at 11:05 UTC
Updated:
5 Dec 2010 at 09:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
plachHere is a patch for the bot. Needs tests.
Comment #2
good_man commentedI can only see (without your patch) this function getting the current active language, not all languages. OTOH, URL rewrite displays only active languages.
Comment #3
bforchhammer commentedI tested the patch in #1 in conjunction with the patch in #284625 and can confirm that it works.
Comment #4
plachThis comes from #284625: Non-localized links in translation table....
Steps to reproduce:
Edit: You'll see the issue after applying the latest patch in the issue above.
Comment #5
plachAnd here is the test.
The test-only version of the patch is supposed to fail testing to show that the complete patch fixes the issue.
Comment #6
bforchhammer commentedHm, so why is the test-only version NOT failing the test-bot then? ;-)
Comment #7
plachStrange, on my box it fails. I'll give it a look. But I suppose the problem is it's difficult to configure a locale-proof test environment.
Can you test the two patches on your machine? You just need to run the UI Language negotiation test.
Comment #8
bforchhammer commentedI'll give it a go later today.
Comment #9
bforchhammer commentedI just tried the test-only patch, and it also passes... looks like this needs more work.
Comment #10
plachTests were missing a static cache reset. I don't know how could they fail on my box yesterday...
Comment #11
plach:(
@bforchhammer, what about you?
Comment #12
bforchhammer commentedSeems like the results are the same on my test machine...
Why are they different on the test-bots? Is that something that's happened before? Is it a caching issue? I guess that's something that we should probably figure out before this becomes rtbc...?
Comment #13
plachSure, I'm trying a different approach.
Comment #14
plachLet's try this.
Comment #15
bforchhammer commentedWorks as expected. I like the changes, the test-case seems more clear now.
Let's see what the bot says...
Comment #16
bforchhammer commentedStill the same...
Comment #17
plachOh, fuck :(
Comment #18
plachI'll try and see if it's a clean ulr issue, but I doubt...
Comment #19
plach#14: language-926212-14-test.patch queued for re-testing.
Comment #20
plach#14: language-926212-14.patch queued for re-testing.
Comment #21
plachI can't reproduce the bot's behavior on my box(es). I filed an issue in the infrastructure queue: #931020: Test passing when it should fail.
Comment #22
plach#14: language-926212-14-test.patch queued for re-testing.
Comment #23
plachRerolled after the latest commits.
Comment #25
bforchhammer commentedWrong line endings...
Comment #26
bforchhammer commentedComment #28
bforchhammer commentedHm... and this time fixed for real.
Comment #29
plach@DamZ helped me fix the test. Now we should be ok.
Comment #30
plachyay!
Comment #31
bforchhammer commentedFinally :)
Comment #32
plachImproved PHPdocs
Comment #34
plachwindows newlines...
Comment #35
plachComment #36
tom_o_t commented#34: language-926212-34.patch queued for re-testing.
Comment #37
webchickCommitted to HEAD. Thanks!