- Issue created by @artemboiko
- @artemboiko opened merge request.
- Status changed to Needs work
over 2 years ago 12:29am 31 March 2023 - πΊπΈUnited States smustgrave
Next step would be to add a test case showing the issue.
I guess, I caught the bug with the naming of js translation files in sites/default/files/languages/*.js in my case I see base64_hash_0.js, base64_hash_1.js, etc.
Perhaps when a few users open the page after cleaning the cache, they both try to generate the same file for js translations.
Use FileSystemInterface::EXISTS_REPLACE in _locale_rebuild_js for rewriting the file on creating.
Not to create new with numbers in the end provided by FileSystemInterface::EXISTS_RENAME.
Needs work
9.5
Used to track the progress of issues reviewed by the Drupal Needs Review Queue Initiative.
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Next step would be to add a test case showing the issue.