Closed (fixed)
Project:
Localization server
Version:
7.x-1.x-dev
Component:
l10n_packager
Priority:
Major
Category:
Bug report
Reporter:
Created:
24 Sep 2015 at 15:25 UTC
Updated:
12 Oct 2015 at 10:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hass commentedI do not think re-packaging all projects is the way I should go here. It works, but it looks wrong.
The real question is why the files table is not migrated properly from D6 to file_managed.
Comment #3
SebCorbin commentedFrom #2549799: Fix up D7 packaging:
l10n_packager D7 should indeed move the files, but I have no idea how :/
I lack data that would be identical to your current state.
Another solution is to wait for all releases to be repackaged, but it depends on how much data you have
Comment #4
SebCorbin commentedJust talked to drumm, there was a hook_update_N added to the localizedrupalorg project to take care of that: http://cgit.drupalcode.org/localizedrupalorg/tree/localizedrupalorg/loca...
Need to
Comment #5
hass commentedWhy copy it to the l10n_server module? I thought it is l10n_packager module? Do you think this is just a 1:1 copy?
Comment #6
hass commentedThe killswitch for ldo can be just a simple SQL update on the system table schema field. This can be done with an update hook in localizedrupalorg module. Everything else is not really clean code for - 10n_server modules
Comment #7
hass commentedChanged variable names, removed commented debugs, reduced batch size from 60.000 to 5.000 as it looks really large.
Comment #8
hass commentedComment #9
hass commentedTested it on my site and all 3 tables are in sync. All 3 tables (file_managed, file_usage and l10n_packager_file) have the same number of items. The downloads translation page is also working as before. Let's get this in, too. :-)
Comment #10
hass commentedCreated follow up for localizedrupalorg at #2575231: Add killswitch so l10n_packager_update_7000 does not run "again"
Comment #11
SebCorbin commentedAdded a killswitch and committed
Comment #13
hass commentedWhat do you think about #2575231: Add killswitch so l10n_packager_update_7000 does not run "again" ? I think this is the better killswitch...