Bug #4327
Object "F3\Blog\Domain\Model\Blog" is not registered
Status: | Resolved | Start date: | 2009-08-26 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 0% |
|
Category: | Content / Instructions | |||
Target version: | 1.0.0 alpha 4 |
Description
As per Getting Started guide the BlogController's CreateAction is giving an exception
$blog = $this->objectFactory->create('F3\Blog\Domain\Model\Blog');
The exception is Object "F3\Blog\Domain\Model\Blog" is not registered
Related issues
History
#1 Updated by Robert Lemke almost 6 years ago
- Target version changed from 1.0.0 alpha 3 to 1.0.0 alpha 4
#2 Updated by Karsten Dambekalns almost 6 years ago
- Category set to Content / Instructions
- Status changed from New to Needs Feedback
- Assigned To set to Karsten Dambekalns
I saw this today as well, but it worked on the next call (after removing the StandardController). So I suspect this to be a cacheing issue, it seems as if the file monitoring sometimes bails out.
Does it work for you if you manually clear the cache(s)?
#3 Updated by ziyad saeed almost 6 years ago
manually clearing the cache works. the exception is now gone
#4 Updated by Robert Lemke almost 6 years ago
- Status changed from Needs Feedback to Resolved