Ticket #9774 (closed Bug: fixed)

Opened 7 years ago

Last modified 3 years ago

archetypes_tool migrations fail to import install_uidcatalog

Reported by: nueces Owned by: nouri
Priority: minor Milestone: 4.x
Component: Archetypes Version: 4.2
Keywords: Cc: nueces


The import of install_uidcatalog in Products/Archetypes/Extensions/migrations.py fail

from Products.Archetypes.Extensions.utils import install_uidcatalog

the install_uidcatalog function was defined in the Products.Archetypes.Extension.utils but this was removed in the changeset 7766 from the Archetypes repo. https://dev.plone.org/archetypes/changeset/7766/Archetypes/trunk/Extensions/utils.py

The function definition now live in the Products.Archetypes.setuphandlers

To reproduce the bug go into the ZMI -> your plone site -> archetypes_tool -> migration tab and press the "start migration" button

Traceback log:

2009-11-11 18:11:33 ERROR Zope.SiteErrorLog 1257973893.00.566397333795 http://localhost:8080/site/archetype_tool/manage_migrate
Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Products.Archetypes.ArchetypeTool, line 1096, in manage_migrate
  Module None, line 8, in ?
ImportError: cannot import name install_uidcatalog

Change History

comment:1 Changed 7 years ago by nueces

  • Zope Version: (Zope 2.10.9-final, python 2.4.4, linux2)
  • Python Version: 2.4.4 (#2, Oct 22 2008, 20:20:22) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
  • System Platform: linux2
  • Plone Version: 3.3.1

comment:2 Changed 7 years ago by nueces

  • Cc nueces added

comment:3 Changed 4 years ago by kleist

  • Status changed from new to confirmed
  • Version set to 4.2
  • Milestone changed from 3.3.x to 4.x

Reproducable in Plone 4.2 coredev buildout

comment:4 Changed 3 years ago by bogdan.girman

  • Status changed from confirmed to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.