Ticket #1271 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

Profile import error on CPSSubscription

Reported by: sfermigier Owned by: fguillaume
Priority: P1 Milestone: CPS 3.4.0
Component: CPSSubscriptions Version: TRUNK
Severity: normal Keywords:
Cc:

Description

Try to import the "CPSSubscriptions" profile and you will get:

Error Type:  	AttributeError
Error Value: 	

getCPSSubscriptionsLocalRolesMapping

Traceback: 	

Traceback (innermost last):

    * Module ZPublisher.Publish, line 113, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 40, in call_object
    * Module Products.GenericSetup.tool, line 434, in manage_importAllSteps
    * Module Products.GenericSetup.tool, line 247, in runAllImportSteps
      __traceback_info__: profile-CPSDefault:default
    * Module Products.GenericSetup.tool, line 715, in _doRunImportStep
      __traceback_info__: subscriptions-various
    * Module Products.CPSSubscriptions.exportimport, line 45, in importVarious
    * Module Products.CPSSubscriptions.exportimport, line 82, in importVarious
    * Module Products.CPSSubscriptions.exportimport, line 92, in setupDefaultMappings

AttributeError: getCPSSubscriptionsLocalRolesMapping

Looks like a skin problem.

Change History

comment:1 Changed 14 years ago by janguenot

Yes, it looks like a skins problem. This is not supposed to append at this point since the skins should be registred. (maybe a step ordering issue ?)

comment:2 Changed 14 years ago by fguillaume

Does this really need to be in a skin?

comment:3 Changed 14 years ago by janguenot

Of course it could, but the question is more why are we facing this skins related behavior ?

comment:4 Changed 14 years ago by fguillaume

Maybe the skins tool import doesn't reset things correctly after a change of skins.

comment:5 Changed 14 years ago by fguillaume

  • Status changed from new to assigned
  • Owner changed from trac to fguillaume

comment:6 Changed 14 years ago by janguenot

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in [32745]. Exception was already caught. This skins script is not needed anymore since iut can be setup using profiles now.

Note: See TracTickets for help on using tickets.