[FLOW3-general] Problem with generating extra classes with kickstarter:actioncontroller.

Tomas Norre Mikkelsen tomasnorre at gmail.com
Sun Nov 18 20:02:08 CET 2012


Hi,

I have tried to make a extra Class/Controller with the kickstarter, 
after genereated my first test class.

It's created with:
./flow3 kickstart:actioncontroller --generate-actions --generate-related 
Fritdrop.Webpage GolfEquipment

And the file generation was completet, but afterwords with the ./flow3 
doctrine:update

I got following errors, also with the ./flow3 help command, haven't 
changed anything in the files for GolfEquipment my self, so is this a 
bug or have i done something wrong ?

FILE: System_Development.log
12-11-18 19:56:33 11136      DEBUG     FLOW3                Reflected 
class names did not match class names to reflect
12-11-18 19:56:33 11136      DEBUG     FLOW3                Reflecting 
class Fritdrop\Webpage\Controller\GolfEquipmentController
12-11-18 19:56:33 11136      DEBUG     FLOW3                Reflecting 
class Fritdrop\Webpage\Domain\Model\GolfEquipment
12-11-18 19:56:33 11136      DEBUG     FLOW3                Reflecting 
class Fritdrop\Webpage\Domain\Repository\GolfEquipmentRepository
12-11-18 19:56:33 11136      INFO      FLOW3                Reflected 3 
emerged classes.
12-11-18 19:56:36 11136      DEBUG     FLOW3                Built AOP 
proxy for class "Fritdrop\Webpage\Domain\Model\GolfEquipment".
12-11-18 19:56:36 11136      DEBUG     FLOW3                Building DI 
proxy for "Fritdrop\Webpage\Controller\GolfEquipmentController".
12-11-18 19:56:36 11136      CRITICAL  FLOW3                Uncaught 
exception #1265213849 in line 142 of 
/home/tnm/NetBeansProjects/flow3/FLOW3-1.1.0/Packages/Framework/TYPO3.FLOW3/Classes/Object/DependencyInjection/ProxyClassBuilder.php: 
The object "Fritdrop\Webpage\Domain\Repository\golfEquipmentRepository" 
which was specified as a property in the object configuration of object 
"Fritdrop\Webpage\Controller\GolfEquipmentController" (automatically 
registered class) does not exist. Check for spelling mistakes and if 
that dependency is correctly configured. - See also: 
20121118195633ff72d8.txt



FILE: 20121118195633ff72d8.txt

Uncaught exception #1265213849 in line 142 of 
/home/tnm/NetBeansProjects/flow3/FLOW3-1.1.0/Packages/Framework/TYPO3.FLOW3/Classes/Object/DependencyInjection/ProxyClassBuilder.php: 
The object "Fritdrop\Webpage\Domain\Repository\golfEquipmentRepository" 
which was specified as a property in the object configuration of object 
"Fritdrop\Webpage\Controller\GolfEquipmentController" (automatically 
registered class) does not exist. Check for spelling mistakes and if 
that dependency is correctly configured.

9 
TYPO3\FLOW3\Object\DependencyInjection\ProxyClassBuilder::buildPropertyInjectionCode(TYPO3\FLOW3\Object\Configuration\Configuration)
8 TYPO3\FLOW3\Object\DependencyInjection\ProxyClassBuilder::build()
7 TYPO3\FLOW3\Command\CoreCommandController::compileCommand(boolean)
6 call_user_func_array(array, array)
5 TYPO3\FLOW3\Cli\CommandController::callCommandMethod()
4 
TYPO3\FLOW3\Cli\CommandController::processRequest(TYPO3\FLOW3\Cli\Request, 
TYPO3\FLOW3\Cli\Response)
3 TYPO3\FLOW3\Mvc\Dispatcher::dispatch(TYPO3\FLOW3\Cli\Request, 
TYPO3\FLOW3\Cli\Response)
2 TYPO3\FLOW3\Cli\CommandRequestHandler::handleRequest()
1 TYPO3\FLOW3\Core\Bootstrap::run()


-- 
Best Regards
Tomas Norre Mikkelsen

TYPO3 Profile: http://forge.typo3.org/users/4289
TYPO3 Developer @ netimage.dk

Follow me at twitter.com/tomasnorre


More information about the FLOW3-general mailing list