contao/core — Issue #3855: The install tool does not cope with any kind of DCA information in dcaconfig.php
Author: xchs
Created: 2012-01-26 01:04:43+00:00
State: open

It seems that in the current 3.0 branch the install tool does not cope with any kind of DCA information provided in the `dcaconfig.php`. When I run (for the first time) the install tool and it already exists a local DCA configuration file from a prior installation I get – for instance – the following exception:

```
Fatal error: Uncaught exception Exception with message Could not load the table information of tl_content thrown in system/library/Contao/DcaExtractor.php on line 265

#0 system/library/Contao/DcaExtractor.php(104): Contao/DcaExtractor->createExtract()
#1 system/library/Contao/DbInstaller.php(283): Contao/DcaExtractor->__construct('tl_content')
#2 system/library/Contao/DbInstaller.php(123): Contao/DbInstaller->getFromDca()
#3 system/library/Contao/DbInstaller.php(56): Contao/DbInstaller->compileCommands()
#4 contao/install.php(775): Contao/DbInstaller->generateSqlForm()
#5 contao/install.php(960): InstallTool->run()
#6 {main}
```
In this particular case the `dcaconfig.php` contains the following configuration:

```
$GLOBALS['TL_DCA']['tl_content']['fields']['headline']['eval']['allowHtml'] = true;
```