Closed (fixed)
Project:
Localization client
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2008 at 14:27 UTC
Updated:
18 Aug 2010 at 10:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
gábor hojtsyLooks like our new textgroup selector does not actually enforce you to select at least one textgroup. What happens if you do select a textgroup? (It should work without errors :)
Comment #2
hass commentedEDIT: removed stupid comment
Comment #3
hass commentedEDIT: removed stupid comment
Comment #4
hass commentedThe checkbox(es) should not be "required"...
Comment #5
gábor hojtsyWell, at least one textgroup should be chosen, right?
Comment #6
hass commentedNot really. If you don't like to clean you DB you need to deselect all. Otherwise people will loose "views" translation as one example or they loose their custom translations...
Comment #7
gábor hojtsyOh, sure, then we should have code to check whether something was selected at all and only run the DELETE in that case. This code seems to be broken nevertheless.
Comment #8
hass commentedIf we are on it we should also add the two "Mode" radios we also have on "admin/build/translate/import"
Comment #9
gábor hojtsyOk, here is a quick patch to fix this error, committing to D6. Should be ported to D7 as well.
Comment #10
dawehnerThis is based on the other ported patch.
Comment #11
gábor hojtsyWe should not attempt build the $lids list either, if there are no textgroups. That's part of the ported version of the nested query in D7. So committed this attached patch. Thanks!