从克隆 3.3.5 迁移到 4.1
从 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当向别人寻求帮助时,你确实需要提供更多细节。当寻求软件帮助时,不仅要包含回溯,还要包含您正在使用的附加组件,这一点非常重要。您最初的问题应该提到您正在使用 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.
当我使用 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.