Bug #4409

@inject comment property isn't working

Added by ziyad saeed almost 6 years ago. Updated almost 5 years ago.

Status:Closed Start date:2009-08-31
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

0%

Category:Object
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 3
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

In the Getting Started guide, a blog controller is created that has a blogRepository property.

/**
 * @var \F3\Blog\Domain\Repository\BlogRepository
 * @inject
 */
protected $blogRepository;

When the code is run the blogRepository property is null. The blogRepository object isn't being injected, which in turn gives a "Call to a member function findAll() on a non-object" error.

I'm posting this issue here cause no one seems to be monitoring the getting started issue tracker


Related issues

duplicates Getting Started - Bug #4325: Call to a member function findAll() on a non-object Resolved 2009-08-26

History

#1 Updated by Karsten Dambekalns almost 6 years ago

  • Category set to Object
  • Status changed from New to Closed
  • Assigned To set to Karsten Dambekalns

Also available in: Atom PDF