Issue #3615336: skip missing locale projects (Shrey Narayan, NextBrick) - #1
Open
NextbrickInc wants to merge 46 commits into
Open
Issue #3615336: skip missing locale projects (Shrey Narayan, NextBrick)#1NextbrickInc wants to merge 46 commits into
NextbrickInc wants to merge 46 commits into
Conversation
By: quietone By: andypost By: smustgrave By: sivaji_ganesh_jojodae By: catch
…ult Admin to Toolbar By: gábor hojtsy By: smustgrave
…to the search_help module By: gábor hojtsy By: sjpagan By: larowlan By: quietone
…header only as dependencies By: mherchel By: jurgenhaas By: bernardm28 By: catch By: godotislate
By: catch By: fjgarlin By: kim.pepper By: longwave
…rs in logs By: herved By: joelpittet By: smustgrave
By: quietone By: kieran.cott By: longwave
…class By: catch By: smustgrave By: godotislate By: dcam
…upal\Tests\Core\Template\AttributeTest By: Aki Tendo By: kieran.cott By: dcam
By: nicxvan By: berdir By: daffie
By: quietone
…routes By: longwave By: godotislate By: dcam
…tail By: joachim By: andregp By: larowlan By: sophiavs By: alexpott By: mohit_aghera By: smustgrave By: quietone By: harshitthakore By: murilohp By: benjifisher By: Tauany Bueno By: dcam By: rkoller By: simohell By: pallavi singh3013 By: godotislate
By: quietone By: dcam
By: quietone By: smustgrave
…library By: f0ns By: dcam
…hould provide guidance on how to get started By: gábor hojtsy By: catch By: lauriii By: pameeela By: xjm By: wim leers By: phenaproxima By: tim.plunkett By: pdureau By: ckrina By: mherchel By: benjifisher By: rkoller By: simohell By: the_g_bomb
By: longwave By: dcam By: mstrelan
By: arla By: alexpott By: daffie By: nestor.mata By: tim bozeman By: cgalli By: catch
By: sam152 By: dawehner By: larowlan By: effulgentsia By: mstrelan By: acbramley By: bbrala By: borisson_ By: catch By: wim leers By: gábor hojtsy By: dcam By: quietone
…tensions By: phma By: nicxvan By: catch By: longwave
…ery to support attribute discovery By: berdir By: catch By: smustgrave By: benjifisher By: godotislate
By: berdir By: nicxvan
By: traviscarden By: danepowell By: effulgentsia By: drumm By: catch By: webchick By: Mixologic By: mile23 By: greggles By: adamps By: mglaman By: alexpott By: pameela By: xjm By: quietone By: longwave By: berdir By: amateescu By: acbramley By: mstrelan
…espace between tags By: tgauges By: cilefen By: jwilson3 By: ghost of drupal past By: smustgrave By: quietone
…l tests By: mstrelan By: joachim By: dcam
By: pameeela By: griffynh
This reverts commit 5341dd8.
…cans for extensions By: nicxvan By: amateescu
By: catch By: smustgrave
By: catch By: nicxvan By: godotislate
…o files, for better diffs and automated updates By: berdir By: godotislate By: nicxvan
… profile modules By: catch By: nicxvan By: godotislate
…ailable By: catch By: longwave By: nicxvan
By: longwave By: aayushpathak By: smustgrave
By: prudloff By: fathershawn
… but it's not By: charlliequadros By: dcam By: mstrelan
…ds in ConfigInstallWebTest By: catch By: smustgrave By: mstrelan By: godotislate
By: catch By: nicxvan By: daffie By: godotislate
Stale project names in translation status data caused a TypeError when sourceBuild() received NULL. Skip untracked projects and return NULL from loadSource() so cron and batch jobs continue.
NextbrickInc
force-pushed
the
fix/3615336-locale-source-missing-project
branch
from
August 26, 2026 06:07
63d3bbd to
c9d32c9
Compare
… module By: quietone By: gábor hojtsy By: dcam
…nager By: catch By: pameeela By: phenaproxima By: jesseh By: star-szr By: spiderman
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
LocaleSource::sourceBuild()when a stale project name is still present in translation status data but no longer returned byLocaleProjectRepository(for example after a module is uninstalled).loadSources()now skips untracked projects,loadSource()returnsNULL, and locale batch/cron callers continue instead of fataling.Author: Shrey Narayan, NextBrick
Email: employeenextbrick@gmail.com
Upstream issue: https://www.drupal.org/project/drupal/issues/3615336
Test plan
LocaleSourceTest(core/modules/locale/tests/src/Unit/LocaleSourceTest.php).