[TYPO3-mvc] fe_users with command controller

Phallin Hor phallin at web-essentials.asia
Mon Nov 11 10:06:23 CET 2013


Dear list,

I have a problem related to fe_users with command controller. Now, I'm 
using TYPO3 6.1.5 and Extbase version 6.1.0. I have one controller 
called DashboardController and one model named "project". And I also 
have one command controller called ExecuteCommandController. In model 
project, there is a field called feUser. In DashboardController, I can 
set and get fe_user object from the project. However, I cannot get the 
project object in command controller.

I got an error when I try to run scheduler: Execution of task "Extbase 
CommandController Task (extbase)" failed with the following message: 
Task failed to execute successfully. Class: 
TYPO3\CMS\Extbase\Scheduler\Task, UID: 17

I guess that the problem is commandcontroller does not know fe_users 
class because when I change the type of feUser field to integer, string 
  or other object types, or delete this field it works fine. I use 
\TYPO3\WePro\Domain\Model\FrontendUser in my model. I also extend and 
use my own fe_user class but it still does not work.

How to make fe_users works with command controller?

Thanks,
Phallin


More information about the TYPO3-project-typo3v4mvc mailing list