Symfony의 프로젝트 버전을 2.1에서 2.2 RC2로 업그레이드하고 2.1에 표시되지 않은 매핑 오류가 발생하기 시작했습니다. 내 전체 매핑 오류를 던질 것으로 보인다. 예가 있습니다. 이들은 두 개의 항목입니다. 1. MyBundle\Entity\Usuario:
type: entity
table: usuario
id:
symfony2를 배우고 있으며 컨트롤러에 하나의 양식을 작성했습니다. DefaultController.php namespace Banner\TestBundle\Controller;
use Banner\TestBundle\Entity\Contact;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
번들 ParentBundle과 ChildBundle 두 개가 있다고 가정합니다. ChildBundle이 ParentBundle 다음 // ChildBundle/ChildBundle.php
<?php
namespace ChildBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class Child
Symfony2.2 베타 경로에 문제가 있습니다. (심포니-2-2-0 - 베타 - 1) 내가 같이 annoations 경로를 사용 @Route("/form/{id}", defaults={"id"=0}, requirements={"id"="\d+"});
그리고 오류는 다음과 같습니다 예외가 렌더링하는 동안 발생 된 ("경로"[...] _ form "에 대