Could not load type "rizza_calendar_calendar"
I was trying to configure this bundle. I create bundle that extends this bundle.
rizza_calendar:
db_driver: orm
class:
model:
calendar: Sylius\Sandbox\Bundle\CalendarBundle\Entity\Calendar
event: Rizza\CalendarBundle\Entity\Event
user: Adaptive\UserBundle\Model\User
attendee: Rizza\CalendarBundle\Entity\Attendee
I have implemented classes that extend abstract models but i am still getting error Could not load type "rizza_calendar_calendar"
What else should I do to make this working correctly?
I don't believe I ran into this issue. Can you post the error with more debug context?
I have also installed the bundle, updated AppKernal, updated app.config and routing.yml files per the docs, and extended the Calendar Entity in my own Application bundle. When I try to access the /calendar/add route, I receive the [Could not load type "rizza_calendar_calendar"] error.
Is there another configuration item I'm missing, please? Do I need to extend the Forms in my own bundle? Thanks!
The error is being thrown from Symfony\Component\Form\FormRegistry.php in the getType() method.
I am using Symfony 2.1 - and with further debugging, I think the issue could be a breaking change between Symfony 2.0 and 2.1: https://github.com/symfony/symfony/blob/v2.1.0-BETA1/UPGRADE-2.1.md#other-bc-breaks. The order of the first two arguments has been flipped for createNamed(). I'm going to look into this a bit more - but if anyone has thoughts on this welcome some feedback on if anyone has gotten this Bundle working in Symfony 2.1 please. Thanks!