Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How it looks
1) Drupal\Tests\locale\Functional\LocaleTranslationUiTest::testStringTranslation
Behat\Mink\Exception\ExpectationException: An option "en" exists in select "edit-langcode", but it should not.
Examples:
https://www.drupal.org/pift-ci-job/708332
https://www.drupal.org/pift-ci-job/571364
https://www.drupal.org/pift-ci-job/712560
Proposed resolution
Replace random name generation, because it gives value containing 'en'
with 1/250 (rough frequency).
or
Implement more stringent verification criteria, because check full page on 'en' it is a bit naive.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#20 | interdiff-16-17-diff.txt | 729 bytes | Anonymous (not verified) |
#17 | interdiff-16-17.txt | 729 bytes | Anonymous (not verified) |
#17 | 2891911-17.patch | 741 bytes | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedvaplas created an issue. See original summary.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #5
xjmMarking critical since it's a random test failure.
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedThank you, @xjm!
Comment #7
xjm#2 seems like a straightforward and correct fix to me. This issue is a classic case of a random string happening to match a different meaningful value, and simply providing a test value instead is better.
Thanks @vaplas!
Comment #10
catchCommitted e242bbd and pushed to 8.4.x, then cherry-picked to 8.3.x. Thanks!
Comment #11
catchComment #12
larowlanI think this broke HEAD on postgres and sqlite - its the only thing that went into 8.3 and 8.4 recently, and given its touching the same test - figure it was the culprit https://www.drupal.org/node/3060/qa
Comment #13
catchLet's re-test on those databases.
Comment #16
Anonymous (not verified) CreditAttribution: Anonymous commentedGood spot! Let's fix it.
Comment #17
Anonymous (not verified) CreditAttribution: Anonymous commentedс/c
Comment #18
catchThis interdiff 16/17 doesn't match the patch in 17?
Comment #19
xjmIs this a botanical name? I don't recognize it. :)
Comment #20
Anonymous (not verified) CreditAttribution: Anonymous commented#18: Hah! This is really not my interdiff). The size of my interdiff (769 bytes), but content has more size (4196 bytes). And it looks like one of version here #2876670-35: D8: Add error reporting when download fails/messes up. Reupload interdiff (replace cyrillic character, it appeared when I converted the word to lowercase).
#19: Yep) I wanted to apply something that went beyond the datebase terms. In the original I wanted to say "бахчевые" (a family of melons and watermelons). But I missed a bit with the translation and got on the family of pumpkin, that is close too.
Comment #21
Anonymous (not verified) CreditAttribution: Anonymous commented#18: Steps to reproduce this bug:
'name.txt'
. If file with such name already exists, then the current file will be renamed as'name_0.txt'
.'name_0.txt'
. View the contents of this file - it will be from the first file.Comment #22
catchThat sounds like a CDN or maybe varnish issue to me with #18.
Moving back to RTBC.
Comment #26
catchCommitted/pushed/cherry-picked to all three 8.x branches, thanks!
Comment #27
tacituseu CreditAttribution: tacituseu commentedNot that I think it is the reason, but things started segfaulting after this commit:
https://www.drupal.org/pift-ci-job/728146
https://www.drupal.org/pift-ci-job/728160
https://www.drupal.org/pift-ci-job/728179
https://www.drupal.org/pift-ci-job/728206