Active
Project:
Localization update
Version:
7.x-2.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 May 2017 at 09:38 UTC
Updated:
2 Sep 2019 at 14:17 UTC
Jump to comment: Most recent
Module does not see translations. Neither local nor external. The result of check is always "missing translations" for all modules. I found it out when started new project. The same problem on previous projects.
Downgrade to 2.0 version fixed problem and works fine. Checked on a local and external web server.
The Drupal cache backend is overridden by the DrupalFakeCache. When this override was removed, the translation updates got working again.
1. Document this behavior.
2. Make translation state independent from disabling cache.
Comments
Comment #2
sutharsan commentedI can not reproduce this situation on a clean install.
Can you describe the steps to reproduce on a new drupal installation.
Comment #3
ruslan.murzin commentedClean install really works fine. I just checked. Maybe conflict with other module. I'll try to reproduce error later.
Comment #4
ruslan.murzin commentedToday I spent few hours trying to reproduce an error but I couldn't. I added all modules (the problem site has), one by one but nothing. From other side I still have the site where "Localization update" module does not see updates. I don't know what to do :)
I can backup the site and give you a link in private, if you want.
Comment #5
sutharsan commentedThat is ok.
Comment #6
sutharsan commented@ruslan.murzin, I'm still interested if you can share a backup.
Comment #7
ruslan.murzin commentedI sent you a link via personal contact form the same day you answered. I thought you have no time to check backup ))
Could you send me something and I'll reply from email client.
Link to my contact form https://www.drupal.org/user/2319166/contact
Comment #8
sutharsan commentedI have installed the website I got provided by @ruslan.murzin and investigated the problem.
It is caused by a combination of two things. The latest release of l10n_update stores the translation in the cache bin. The provided site uses code to fully disable the cache using the DrupalFakeCache cache backend. Once the a normally caching backend is restored, the translations get recognized again.
The use of DrupalFakeCache was similar to https://pastebin.com/Pe6EdvBt
Comment #9
ricovandevin commentedConfirmed this issue with Localization update 7.x-2.2.