KeyError: 'Duplicate profile ID ...' while refreshing

Bug #117700 reported by diefenbach
2
Affects Status Importance Assigned to Milestone
RefreshNG
New
Undecided
Unassigned

Bug Description

This error appears if the profile is defined withing the intialize method of __init__.py.

    profile_registry.registerProfile('default',
                                     'places'
                                     '',
                                     'profiles/default',
                                     'Places',
                                     EXTENSION,
                                     for_=IPloneSiteRoot)

It doesn't happen, when the profile is defined in the configure.zcml.

    <genericsetup:registerProfile
        name="Places"
        title="Places"
        directory="profiles/default"
        description="Places for Plone."
        provides="Products.GenericSetup.interfaces.EXTENSION" />

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.