everybody!
In a new TYPO3 8.7.10 site, i just created a new extension by using Extension Builder. In that extension, there is a model object ("FurnitureFamily") with a file type property (I called it "symbol"). My extension also has a plugin which displays a list of all furniture families. I created a furniture family and a new page with my plugin.
A new model object in Extension Builder
/**
* name
*
* @var string
* @validate NotEmpty
*/
protected $name = '';
/**
* symbol
*
* @var \TYPO3\CMS\Extbase\Domain\Model\FileReference
* @cascade remove
*/
protected $symbol = null;
The problem is that, instead of showing a list with my only record, I get the following error:
Oops, an error occurred! Code: 20180219055419589a6076
With the help of the fh_debug extension, I can get more information about the error:
Oops, an error occurred! Code: 20180219055419589a6076 Unknown column 'sys_file_reference.uid_local:type' in 'where clause' exception code:1472074485 file:/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php line:393 fh_debug trace: file: /typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php" line:226 function:getObjectDataByQuery file: /typo3/sysext/extbase/Classes/Persistence/Generic/PersistenceManager.php" line:126 function:getObjectDataByQuery file: /typo3/sysext/extbase/Classes/Persistence/Generic/QueryResult.php" line:113 function:getObjectDataByQuery file: /typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php" line:567 function:getFirst file: /typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php" line:503 function:mapResultToPropertyValue file: /typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php" line:290 function:mapObjectToClassProperty file: /typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php" line:186 function:thawProperties file: /typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php" line:144 function:mapSingleRow
Curiously, when I remove the property "symbol", The list is shown (only with the property "name").
Being a new installation, I tried compare my database with the specificacion, but there were no changes to make.
My question is: How can I correct that error?
Thank you.