Bug #11338
Wrong code in getting started tutorial
Status: | Closed | Start date: | 2010-12-08 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - |
Description
In Chapter 8. Controller there is wrong/old code inside SetupController class.
The example shows
$blog = $this->objectFactory->create('F3\Blog\Domain\Model\Blog');
but this property doesn't exist. The current way is to use
$blog = $this->objectManager->create('F3\Blog\Domain\Model\Blog');
I found this error in the example of the GettingStarted package (in Private/CheatSheet/code) too.
History
#1 Updated by Robert Lemke almost 4 years ago
- Status changed from New to Closed