Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4050580
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:05:15+00:00 2026-05-20T14:05:15+00:00

Testing the migration from Plone 3.3 to Plone 4 for a large site resulted

  • 0

Testing the migration from Plone 3.3 to Plone 4 for a large site resulted in lost leadimages (which have been created with collective.contentleadimage). None of the leadimages are shown and for folder leadimage views the following error occures:

  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 from /opt/Plone4/buildout-cache/eggs/collective.contentleadimage-1.3.0-py2.6.egg/collective/contentleadimage/browser/folder_leadimage_view.pt object at 0xb3f49d0>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xb255810>}
  Module zope.tales.pythonexpr, line 59, in __call__
   - __traceback_info__: (view.tag(item_object, css_class='tileImage'))
  Module <string>, line 1, in <module>
  Module collective.contentleadimage.browser.folder_leadimage_view, line 30, in tag
  Module Products.Archetypes.Field, line 2558, in tag
  Module plone.app.blob.mixins, line 35, in getScale
  Module plone.app.imaging.traverse, line 52, in getScale
  Module plone.app.imaging.traverse, line 84, in createScale
  Module plone.app.blob.field, line 291, in getFilename
AttributeError: getFilename

I assume that leadimages have not been migrated to blobs. In the Plone4 migration log there are no lines regarding leadimage migration.

Is there a way to migrate leadimages explicitly to blobs?

Thanks,

Gabor Bogdanyi

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T14:05:15+00:00Added an answer on May 20, 2026 at 2:05 pm

    From the changelog for version 1.3:

    THIS VERSION ADDS BLOB SUPPORT WHICH BECOMES DEFAULT LEAD IMAGE STORAGE IN PLONE4. MIGRATION TO BLOB IS NOT PREPARED YET! DON’T USE THIS VERSION IF YOU ARE MIGRATING TO PLONE4. IT IS SAFE TO USE IT ON PLONE3 OR PLONE4.

    This basically means that you could either:

    • try pinning the version to 1.2 and do not use blobs while waiting for someone else to address the issue or,
    • write the migration and contribute it back. Have a look into the plone.app.blob migrations to see how it’s done. I had contributed an example to do that exact thing, haven’t tried it out since p4 is out so your mileage may vary: http://svn.plone.org/svn/collective/example.blobattype
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For testing purposes I have to generate a file of a certain size (to
Whilst testing a Solr install for a future MySQL -> Solr migration, it's immediately
I have a test server that uses data from a test database. When I'm
I'm migrating a Website from Rails 2 (latest) to Rails 3 (beta2). Testing with
For testing without an iPhone/Android phone, which desktop browser works best with Sencha Touch?
We manage a site for a medical charity. They have a number of links
I'm testing out my application with the hopes of migrating to SQL Server 2008
Testing: return request.getCookies() == null; is not an appropriate way test. Is there another
Unit testing and ASP.NET web applications are an ambiguous point in my group. More
Unit testing is, roughly speaking, testing bits of your code in isolation with test

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.