Yes, by "both" I mean I check one box in the Import tab, and 2 things show
up.  I select one extension, and the 2 extensions defined against that
particular interface show up.

I haven't done it yet, but I suspect when I add a third, all 3 will appear

Ah ok ... Thanks for the explanation re: "active site configuration".  From
what you say, I think the behavior I'd expected was that switching profiles
would change what is listed in Import in that only the things related to
that profile can be imported.

So if my extension defines one import step, I switch to that active
configuration, go to the import tab, and see ONE import step, NOT a
cumulated list.

Once this is done, I can go back to my site profile, and see that the
Import/Export tabs now have a new item.

At least that's how, I as as user expected it to work.  Switching profiles
and always seeing a big list of things that I know have nothing to do with
the selected profile, is counter intuitive IMO.

Anyways, back to the original problem, I just want to make sure the intent
is to have the ability to add extentions after the creation of a site.  So
long as the answer is yes, I can live with that for now, knowing I can
develop certain things as extensions.  I can help track down the bug later,
right now I'm still focused on core functionality.


-----Original Message-----
On Behalf Of yuppie
Sent: June 9, 2006 3:30 AM
To: Doyon, Jean-Francois; Zope-CMF List
Subject: [Zope-CMF] Re: Adding EXTENSIONs after site creation


Doyon, Jean-Francois wrote:
> So far, I've figured out I can go to portal_setup properties and 
> change the "active configuration" to the extension one.  I can then do 
> an import of that extension from the Import tab.  I then switch back 
> the active configuration.
> This was working well when I only had one extension, but I now have 
> two, and what I've noticed is that no matter which I select, BOTH get
> They have different adapters, interface definitions, and everything.  
> And in the log, only the one adapter claims to do an import ... Yet both
show up!
> Is this normal?  What am I missing?

What do you mean by "BOTH get installed"? Settings from two different
profiles are imported at once? That sounds strange.

> Also related, what exactly is meant by "active site configuration"

"active site configuration" is the profile used by the import tab. But the
import tab shows *all* registered handlers, not just those useful for the
"active site configuration". If you run the steps each step looks for
related configuration files in the "active site configuration" 
and if it can't find them it does nothing.

Switching to a new "active site configuration" also registers the import and
export handlers specified in the profile. That way you can register new
handlers for export without overriding your site settings by an import.

I'm not happy with the setup tool and its user interface. It is still almost
the same as in CMF 1.5, all the work done on GenericSetup was focused on
improving the setup handlers.



Zope-CMF maillist  -

See for bug reports and feature requests
Zope-CMF maillist  -

See for bug reports and feature requests

Reply via email to