从克隆 3.3.5 迁移到 4.1

发布于 2024-11-29 18:09:00 字数 98 浏览 0 评论 0原文

从 3.3.5 迁移到 4.1 后,某些文件夹正确显示其内容,而某些文件夹则出现此错误 属性错误:getLocallyAllowedTypes 我该如何修复它?

费伯

After migrating from 3.3.5 to 4.1, some folders show their contents properly while some give this error
AttributeError: getLocallyAllowedTypes
How can I fix it?

faber

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

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

发布评论

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

评论(2

‘画卷フ 2024-12-06 18:09:00

当向别人寻求帮助时,你确实需要提供更多细节。当寻求软件帮助时,不仅要包含回溯,还要包含您正在使用的附加组件,这一点非常重要。您最初的问题应该提到您正在使用 contentleadimage。它还应该提到你正在使用拼贴画,这是我从回溯中才发现的。

无论如何,问题似乎是 Collage、contentleadimage 或您的附加组件的某些组合与 4.1 不兼容。

You really need to include more detail when asking others for help. When asking for help with software, it's very important to include not only tracebacks but also what add-ons you are using. Your original question should have mentioned that you're using contentleadimage. It also should have mentioned that you're using Collage, something I only found out from the traceback.

At any rate the problem appears to be that Collage, contentleadimage, or some combination of your add-one are not compatible with 4.1.

隱形的亼 2024-12-06 18:09:00

当我使用 wsapi4plone.core 传输内容时,我自己也遇到了这个问题。我的一些 ZODB 已从 2.0.5 一路升级,我们认为这次迁移将是“清理”内容的好机会。

解决方法是转到内容源上的有问题的文件夹,然后从“添加新”>“ “限制”并检查适当的选择。

我怀疑这些是较旧的文件夹(在属性存在之前),没有正确更新,并且从那以后从未被编辑过。我没有挖得太深,因为只有几个。

I ran into this problem myself when using wsapi4plone.core to sling content across. Some of my ZODBs have been upgraded all the way from 2.0.5 and we decided this migration would be a good opportunity to 'clean' the content.

The fix is to go to the offending folders on the content source, and from the 'Add new' > 'Restrictions' and check the appropriate choice.

MY suspicion is that these were older folders (prior to the property existing) that had not updated properly and had never been edited since. I didn't dig too deep since there were only a few.

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