小编Gab*_*nyi的帖子

将铅图显式转换为blob(迁移到Plone4)

测试从大型站点的Plone 3.3到Plone 4的迁移导致丢失的铅图像(已使用collective.contentleadimage创建).没有显示任何leadimages,并且对于文件夹leadimage视图,发生以下错误:

  Module Products.PageTemplates.Expressions, line 220, in evaluateStructure
  Module zope.tales.tales, line 696, in evaluate
   - URL: /opt/Plone4/buildout-cache/eggs/collective.contentleadimage-1.3.0-py2.6.egg/collective/contentleadimage/browser/folder_leadimage_view.pt
   - Line 82, Column 24
   - Expression: <PythonExpr (view.tag(item_object, css_class='tileImage'))>
   - Names:
      {'args': (),
       'container': <ATTopic at /portalok/lutheran/aktualis/aktualis>,
       'context': <ATTopic at /portalok/lutheran/aktualis/aktualis>,
       'default': <object object at 0x7f93e6c4bae0>,
       'here': <ATTopic at /portalok/lutheran/aktualis/aktualis>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xba65310>,
       'request': <HTTPRequest, URL=http://www.lutheran.hu:9080/portalok/lutheran/aktualis/aktualis/folder_leadimage_view>,
       'root': <Application at >,
       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x5f3a810>,
       'traverse_subpath': [],
       'user': <SpecialUser 'Anonymous User'>,
       'view': <Products.Five.metaclass.SimpleViewClass …
Run Code Online (Sandbox Code Playgroud)

blob plone

2
推荐指数
1
解决办法
332
查看次数

标签 统计

blob ×1

plone ×1