contao/repository — Issue #81: The default field values are not considered during an update.
Author: importer
Created: 2011-11-30 12:44:27+00:00
State: open
Labels: Defect, Invalid

I created a new version of the extension "Galerie" with new fields. For exemple, the field "picasaOptMax" has the value 0 after an update (from 1.0.0 to 1.1.0) but should have the value 30.

```
'picasaOptMax' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_galerie']['picasaOptMax'],
'exclude' => true,
'default' => '30',
'inputType' => 'text',
'eval' => array('rgxp'=>'digit', 'maxlength'=>255, 'tl_class'=>'w50')
),
```

If you are installing this extension for the first time, it's OK but with an update, the default field values are not considered for each new fields.

--- _Originally created by lionel on August 15th, 2011, at 03:36pm (ID 3372)_