Plone - 无法在 Zope 管理界面的 plone_skins 中复制和粘贴视图克隆内容

发布于 2024-12-21 14:30:30 字数 1371 浏览 0 评论 0原文

我们正在使用 Plone 4.1.2,并且在 Zope 管理界面的 plone_skins 的 plone_content 中复制和粘贴视图时遇到问题。我们收到此错误消息:

非常感谢您的期待。

You are here: Home › portal_skins › plone_content
We’re sorry, but there seems to be an error…
Here is the full error message:

Display traceback as text

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 OFS.CopySupport, line 206, in manage_pasteObjects
Module OFS.CopySupport, line 537, in _verifyObjectPaste
CopyError: <HTML> <HEAD> <TITLE>Not Supported</TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF"> <FORM ACTION="manage_main" METHOD="GET" > <TABLE BORDER="0" WIDTH="100%" CELLPADDING="10"> <TR> <TD VALIGN="TOP"> <BR> <CENTER><B><FONT SIZE="+6" COLOR="#77003B">!</FONT></B></CENTER> </TD> <TD VALIGN="TOP"> <BR><BR> <CENTER> The object <em>folder_summary_view</em> does not support this operation. </CENTER> </TD> </TR> <TR> <TD VALIGN="TOP"> </TD> <TD VALIGN="TOP"> <CENTER> <INPUT TYPE="SUBMIT" VALUE=" Ok "> </CENTER> </TD> </TR> </TABLE> </FORM> </BODY></HTML>

We are using Plone 4.1.2, and are having problem doing a copy and paste of a view in Zope Management Interface's plone_skins' plone_content. We get this error message:

Thank you very much in anticipation.

You are here: Home › portal_skins › plone_content
We’re sorry, but there seems to be an error…
Here is the full error message:

Display traceback as text

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 OFS.CopySupport, line 206, in manage_pasteObjects
Module OFS.CopySupport, line 537, in _verifyObjectPaste
CopyError: <HTML> <HEAD> <TITLE>Not Supported</TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF"> <FORM ACTION="manage_main" METHOD="GET" > <TABLE BORDER="0" WIDTH="100%" CELLPADDING="10"> <TR> <TD VALIGN="TOP"> <BR> <CENTER><B><FONT SIZE="+6" COLOR="#77003B">!</FONT></B></CENTER> </TD> <TD VALIGN="TOP"> <BR><BR> <CENTER> The object <em>folder_summary_view</em> does not support this operation. </CENTER> </TD> </TR> <TR> <TD VALIGN="TOP"> </TD> <TD VALIGN="TOP"> <CENTER> <INPUT TYPE="SUBMIT" VALUE=" Ok "> </CENTER> </TD> </TR> </TABLE> </FORM> </BODY></HTML>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

姜生凉生 2024-12-28 14:30:30

您发布的错误消息是来自 Zope 深处的古老错误消息,但在您的情况下很清楚。您正尝试将某些内容复制到不支持复制的位置。

ZMI 中的大多数皮肤层文件夹反映了磁盘上的文件系统目录。它们不会向您显示 ZODB 持久对象,因此您无法通过 ZMI 在其中添加或删除项目。

如果您想复制皮肤项进行自定义,请使用其视图底部的“自定义”按钮在 ZODB 中创建持久副本(通常在特殊的 custom 文件夹中),然后您可以改变。或者您可以在文件系统上找到该文件并在那里复制一份(例如,复制到您自己的皮肤层文件夹中)。

The error message you posted is an archaic one from the deep depths of Zope, but it is clear in your case. You are trying to copy something into a place that doesn't support copying.

Most skin layer folders in the ZMI reflect a filesystem directory on your disk. They are not showing you ZODB persisted objects, so you cannot add or remove items there through the ZMI.

If you want to copy a skin item for customization, use the 'customize' button at the bottom of their view to create a persistent copy in the ZODB, usually in the special custom folder, which you can then alter. Or you can find the file on the filesystem and make a copy there (into your own skins layer folder, for example).

小姐丶请自重 2024-12-28 14:30:30

您只能粘贴到非文件系统文件夹中,即自定义文件夹和在 ZMI 中通过网络创建的文件夹。

You can paste only into non-filesystem folders i.e. custom and ones created through-the-web in ZMI.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文