create bundle symfony cmf를 사용하려고합니다. 지금까지는 블록을 편집 할 수 있기 때문에 모든 것이 작동하지만 콘텐츠를 저장할 수 없습니다.CreateBundle Symfony CMF
Error occurred while saving
[{"message":"Not found: cms\/test","class":"RuntimeException","trace":[{"namespace":"","short_class":"","class":"","type":"","function":"","file":"\/var\/www\/JudoSharp\/vendor\/midgard\/createphp\/src\/Midgard\/CreatePHP\/Mapper\/DoctrinePhpcrOdmMapper.php","line":86,"args":[]},{"namespace":"Midgard\\CreatePHP\\Mapper","short_class":"DoctrinePhpcrOdmMapper","class":"Midgard\\CreatePHP\\Mapper\\DoctrinePhpcrOdmMapper","type":"->","function":"getBySubject","file":"\/var\/www\/JudoSharp\/vendor\/symfony-cmf\/create-bundle\/Symfony\/Cmf\/Bundle\/CreateBundle\/Controller\/RestController.php","line":89,"args":[["string","cms\/test"]]},{"namespace":"Symfony\\Cmf\\Bundle\\CreateBundle\\Controller","short_class":"RestController","class":"Symfony\\Cmf\\Bundle\\CreateBundle\\Controller\\RestController","type":"->","function":"getModelBySubject","file":"\/var\/www\/JudoSharp\/vendor\/symfony-cmf\/create-bundle\/Symfony\/Cmf\/Bundle\/CreateBundle\/Controller\/RestController.php","line":108,"args":[["object","Symfony\\Component\\HttpFoundation\\Request"],["string","cms\/test"]]},{"namespace":"Symfony\\Cmf\\Bundle\\CreateBundle\\Controller","short_class":"RestController","class":"Symfony\\Cmf\\Bundle\\CreateBundle\\Controller\\RestController","type":"->","function":"putDocumentAction","file":null,"line":null,"args":[["object","Symfony\\Component\\HttpFoundation\\Request"],["string","cms\/test"]]},{"namespace":"","short_class":"","class":"","type":"","function":"call_user_func_array","file":"\/var\/www\/JudoSharp\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/HttpKernel.php","line":117,"args":[["array",[["object","Symfony\\Cmf\\Bundle\\CreateBundle\\Controller\\RestController"],["string","putDocumentAction"]]],["array",[["object","Symfony\\Component\\HttpFoundation\\Request"],["string","cms\/test"]]]]},{"namespace":"Symfony\\Component\\HttpKernel","short_class":"HttpKernel","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->","function":"handleRaw","file":"\/var\/www\/JudoSharp\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/HttpKernel.php","line":61,"args":[["object","Symfony\\Component\\HttpFoundation\\Request"],["string","1"]]},{"namespace":"Symfony\\Component\\HttpKernel","short_class":"HttpKernel","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->","function":"handle","file":"\/var\/www\/JudoSharp\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/DependencyInjection\/ContainerAwareHttpKernel.php","line":62,"args":[["object","Symfony\\Component\\HttpFoundation\\Request"],["string","1"],["boolean",true]]},{"namespace":"Symfony\\Component\\HttpKernel\\DependencyInjection","short_class":"ContainerAwareHttpKernel","class":"Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel","type":"->","function":"handle","file":"\/var\/www\/JudoSharp\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/Kernel.php","line":187,"args":[["object","Symfony\\Component\\HttpFoundation\\Request"],["string","1"],["boolean",true]]},{"namespace":"Symfony\\Component\\HttpKernel","short_class":"Kernel","class":"Symfony\\Component\\HttpKernel\\Kernel","type":"->","function":"handle","file":"\/var\/www\/JudoSharp\/web\/app_dev.php","line":28,"args":[["object","Symfony\\Component\\HttpFoundation\\Request"]]}]}]
내가 사용하고 프런트 엔드 코드는 다음과 같다 : 나는 다음과 같은 오류가 발생합니다
<div about="cms/test" typeof="schema:WebPage" xmlns:schema="http://schema.org/">
<h1 property="schema:headline">Hey bra</h1>
<div property="schema:text">
<h2>Welcome to the Symfony CMF Demo</h2>
<p>If you see this page, it means that the...</p>
</div>
<p>Brotha!</p>
<p property="schema:sdlkfj">hey</p>
</div>
는 내가 모르겠어요 것은 무엇 속성입니다 "에 대해" . "about = cms/test"는 내가 입력 한 임의의 값입니다. phpcr-odm 노드를 나타내는 것으로 추측됩니다.하지만 노드를 설정하는 위치 또는이 문서의 작동 방식조차 모르겠습니다. 내 프로젝트에 phpcr-odm 데이터베이스를 만들었고 phpcr-odm이 작동하지만,이 모든 것들이 어떻게 작동하는지 잘 모르겠습니다. symfony cmf를 처음 사용했습니다. 문서 작성이 번거롭기 때문에 번들 생성을 통해 콘텐츠를 저장하는 방법을 알려주십시오. 나는 또한 의미가있는 phpcr-odm 교리 문서를 읽었지만,이 문제와 어떻게 관련 지을 모르겠다.
감사합니다.
괜찮나의 특성 =을 github의 문제를여십시오. 내 rfda 매핑이 선언되어 있지만 내 DAO와 관련성이없는 것으로 보입니다. –
정보는 해당 부분이 콘텐츠의 헤드 라인임을 RDFa 용어로 알려줍니다. – dbu