0

バージョン 1.1.0 beta1 で neos を使用しています

ページレイアウトを変更しようとすると

以下のエラーが発生しました

Failed to render element
pagetwocolum<TYPO3.Neos:Page>/
body<TYPO3.TypoScript:Template>/
content/
main<TYPO3.Neos:PrimaryContent>/
default<TYPO3.TypoScript:Matcher>/
element<TYPO3.Neos:ContentCollection>/
__meta/
cache/
maximumLifetime
No operation which satisfies the runtime constraints found for "context". (20140614122525674a6d)

そしてログにそれは言う

flow/Data/Temporary/Production/Cache/Code/Flow_Object_Classes/TYPO3_Eel_FlowQuery_FlowQuery.php: No operation which satisfies the runtime constraints found for "context".

この問題の原因を教えてください。

4

1 に答える 1

1

ほとんどの場合、レイアウトの不足している ContentCollection ノードをレンダリングしていますpagetwocolumn。最新の安定版 (1.1.2) には、その問題が発生した場合により良いエラー メッセージを表示する修正があります ( https://jira.typo3.org/browse/NEOS-150を参照)。そのバージョンでは、解決策を示すより良いエラー メッセージが表示されるはずです。

バックグラウンドで起こっていることは、オブジェクトが指定されたTYPO3.Neos:ContentCollectionタイプのノードを必要とすることです(例: )。次のコマンドを使用して、これらの欠落しているノード ( として構成されている場合) を追加できます (ページのタイプが の場合)。TYPO3.Neos:ContentCollectionnodePathmainchildNodeTYPO3.Neos.NodeTypes:Page

./flow node:autocreatechildnodes --node-type TYPO3.Neos.NodeTypes:Page

ContentCollectionsの詳細と設定方法については、このドキュメント ページをご覧くださいchildNode

于 2014-12-08T09:58:33.430 に答える