contao/test — Issue #2860: listWizard import language string reference will cause conflicts
Author: importer
Created: 2011-11-29 10:27:10+00:00
State: open
Labels: backend, Defect

Currently the listWizard has an CSV import feature. You already use a generic language string for the 'separator' field, but you did not do this for the second 'source' input field as well. This now creates a problem when the DCA contains a field called 'source' (e.g. if you add a listWizard to tl_news, then the source field's label will be used instead, which is wrong.

CSV Import feature:
field: seperator
label: $GLOBALS['TL_LANG']['MSC']['separator'][0]

field: source
label: $GLOBALS['TL_LANG'][$dc->table]['source'][0]

**Correction:**
field: source
label: $GLOBALS['TL_LANG']['MSC']['source'][0]

--- _Originally created by thyon on February 10th, 2011, at 10:38am (ID 2860)_