[TYPO3-mvc] is there some backend module example available? (blog_example is buggy)

Stefano Cecere scecere at krur.com
Tue Feb 15 17:46:45 CET 2011


On Tue, 15 Feb 2011 17:22:11 +0100, Marc Bastian Heinrichs  
<typo3 at mbh-web.de> wrote:

>> Table 'mydb.tx_blogexample_domain_model_administrator' doesn't exist:
>> SELECT tx_blogexample_domain_model_administrator.* FROM
>> tx_blogexample_domain_model_administrator"
>
> included the static template for blog_example?

ahhh
i did include it in the FE page for the blog.. not in the BE sysfolder!
doing so, this errors goes away.

anyway i get a new one when creating a new blog (i guess becasue the form  
doesn't find any adminsitrator (althout i set the blog adminsitraro select  
in some fe_users..)


Uncaught TYPO3 Exception
#1251814355: transformToObject() accepts only numeric values and arrays.

InvalidArgumentException thrown in file
Sites/typo3_src-4.5.0/typo3/sysext/extbase/Classes/Property/Mapper.php in  
line 305.

18 Tx_Extbase_Property_Mapper::transformToObject("",  
"Tx_BlogExample_Domain_Model_Administrator", "administrator")


/Users/krur/Sites/typo3_src-4.5.0/typo3/sysext/extbase/Classes/Property/Mapper.php:

00232:       }
00233:      } elseif ($propertyMetaData['type'] === 'DateTime' ||  
strpos($propertyMetaData['type'], '_') !== FALSE) {

00234:       $propertyValue = $this->transformToObject($propertyValue,  
$propertyMetaData['type'], $propertyName);

00235:       if ($propertyValue === NULL) {
00236:        continue;


-- 
____    ___   __  _ ______________________

   Stefano Cecere
   KRUR.com


More information about the TYPO3-project-typo3v4mvc mailing list