- π«π·France ericdsd France
Hi patch #38 works against 9.5.2
tested with both config remote_and_local and Local
it works nicely, the only strange thing is that the conts of updated strings slihtly differs on each test i did event while using the same database as start point.When rexproting the sites po for comparison, everything looks fine, i only have 2 extra string when i'm in remote_and_local mode as those strings are displayed during remote locale:check.
with same database :
remote+local
> [notice] Translations imported: 847 added, 13712 updated, 0 removed.
local (with po commited from first test)
> [notice] Translations imported: 848 added, 13468 updated, 0 removed. - Status changed to Needs review
over 1 year ago 11:29pm 4 May 2023 - last update
over 1 year ago 29,379 pass - π¦πΊAustralia mstrelan
Came here from a related issue in Bug Smash. Have updated the patch in #38 to fix the test fail / deprecation. Also since we can have union types now I've reverted #31 and added a union type.
- Status changed to RTBC
over 1 year ago 8:53pm 6 May 2023 - πΊπΈUnited States smustgrave
LocaleTranslationChangeProjectVersionTest - Error : Call to undefined function Drupal\Tests\locale\Functional\locale_translation_batch_version_check()
testUpdateCron -
Queue holds tasks for one project.
Failed asserting that 2 matches expected 3.
Expected :3
Actual :2Made sure the tests fail without the fix and they do.
Reviewing the code changes look good.Question for committer if locale_translation_batch_version_check needs a change record.
- last update
over 1 year ago 29,357 pass, 2 fail The last submitted patch, 43: 2575945-43.patch, failed testing. View results β
- last update
over 1 year ago 29,400 pass, 2 fail - last update
12 months ago Custom Commands Failed - Status changed to Needs work
12 months ago 3:47pm 21 November 2023 - π©πͺGermany ammaletu Bonn, Germany
I would be interested in getting this finished and merged. This might not be the worst bug that Drupal has to offer, but it still breaks a pretty basic core functionality. Right now, people are upgrading to Drupal 10.1 and will be wondering why all kinds of simple and visible Strings are not translated.
I just added the patch #43 to our Drupal 10.1.6 installation. It applied without a problem and cured the problem with the missing translations of newer Strings. The new test LocaleTranslationChangeProjectVersionTest.php runs successfully, as does the changed test LocaleUpdateCronTest.
I'm not sure about Drupal\Tests\ckeditor5\FunctionalJavascript\MediaTest that apparently failed back in May, see #45. Our project still uses CKEditor 4, but I tried it on an unmodified Drupal 10.1 installation. Everything worked there, but all test methods in the MediaTest were skipped.
So what is actually mssing here? I tried to trigger a restest of patch #43. When this hopefully succeeds, can we simply set this back RTBC?
- last update
12 months ago 29,722 pass - last update
12 months ago Custom Commands Failed - Status changed to Needs review
12 months ago 10:40am 30 November 2023 - π©πͺGermany ammaletu Bonn, Germany
In the meantime, I had a second look and understood that I need to install a Chromium driver so that the JavaScript tests are not simply skipped. With ddev-selenium-standalone-chrome installed, they are now executed. In my local test setup of a fresh Drupal 10.2-dev installation, JSWebAssertTest works with the patch installed as does MediaTest.
Can somebody with a better understanding of how Drupal's test setup works please have a look at what might be missing here or if we can set this back to RTBC? I'm setting this back to "Needs review" for now.
Also, comment #44 raised the question "if locale_translation_batch_version_check needs a change record". I'm not sure about that -- do we need a change record just because there is a new function? But I think fixing the bug might warrant a change record, as people might rely on the old translations or have lots of missing translations added themselves.
- Status changed to Needs work
12 months ago 10:49am 30 November 2023 The Needs Review Queue Bot β tested this issue.
While you are making the above changes, we recommend that you convert this patch to a merge request β . Merge requests are preferred over patches. Be sure to hide the old patch files as well. (Converting an issue to a merge request without other contributions to the issue will not receive credit.)
- Status changed to Needs review
12 months ago 11:53am 30 November 2023 - π¦πΊAustralia mstrelan
JavaScript tests tend to have random fails. I've converted to a merge request rather than rerunning the failing job since it's a lot quicker. Let's see if it comes back green.
- Status changed to RTBC
12 months ago 2:36pm 30 November 2023 - πΊπΈUnited States smustgrave
MR is showing green, believe #43 was a random failure.
Thanks @mstrelan for hiding all patches.
-
larowlan β
committed 7bd4aaca on 10.2.x
Issue #2575945 by Sutharsan, mstrelan, tobiasb, ranjith_kumar_k_u,...
-
larowlan β
committed 7bd4aaca on 10.2.x
-
larowlan β
committed 9e290d8c on 11.x
Issue #2575945 by Sutharsan, mstrelan, tobiasb, ranjith_kumar_k_u,...
-
larowlan β
committed 9e290d8c on 11.x
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Committed to 11.x
Backported to 10.2.x
Nice work folks, great to get this long-standing issue solved ππ¨
- Status changed to Fixed
11 months ago 5:07am 22 December 2023 Automatically closed - issue fixed for 2 weeks with no activity.