今天我通過構建將Plone從4.1.4升級到最新的4.2.5。除了粘貼以外的其他作品。當我將頁面粘貼到文件夾時,回溯顯示:Plone 4.2.5:不允許粘貼項目
Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module Products.CMFFormController.FSControllerPythonScript, line 105, in __call__
Module Products.CMFFormController.Script, line 145, in __call__
Module Products.CMFCore.FSPythonScript, line 127, in __call__
Module Shared.DC.Scripts.Bindings, line 322, in __call__
Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
Module Products.PythonScripts.PythonScript, line 344, in _exec
Module script, line 33, in folder_paste
- <FSControllerPythonScript at /keti/folder_paste used for /keti/switch1>
- Line 33
Exception: Disallowed to paste item(s).
我需要你的幫助。
謝謝您的回答。我想我找到原因:「添加新的」只出現在首頁上,但在其他文件夾上不起作用。我是plone網站的管理員,如何讓它顯示? – Hugo 2013-03-13 10:05:42
可以有各種原因,只是爲了排除我提到的一個:你是否檢查配置選項作爲答案中的建議? – 2013-03-13 10:49:05
我不取消選中「過濾內容類型」,然後在下面的小部件中選擇文件,文檔,文件夾。但錯誤仍在繼續,「添加新的」只出現在首頁上,但在其他文件夾上不起作用。 – Hugo 2013-03-13 14:24:08