Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: CMF
Re: 2.3
 

Index | Next | Previous | View Flat


y.2012 at wcm-solutions

Mar 22, 2012, 5:28 AM


Views: 1796
Permalink
Re: 2.3 [In reply to]

Hi!


Charlie Clark wrote:
> I'm testing with some existing sites and getting the following error
> even before I run the upgrades:
>
> ComponentLookupError: (<InterfaceClass
> Products.CMFCore.interfaces._tools.IURLTool>, '')
>
> I'm obviously missing a registration but my site includes
> Products.CMFCore package.

The tools are *local* utilities. Including the ZCML doesn't fix this
issue. You have to run the upgrade step.

It should be possible to use the ZMI without this kind of errors. In
some places I added fallbacks like this one:

try:
utool = getUtility(IURLTool)
except ComponentLookupError:
# BBB: fallback for CMF 2.2 instances
utool = aq_get(self, 'portal_url')

If you can't run the upgrades from the ZMI it might be necessary to add
more fallbacks in CMF.


HTH,

Yuppie
_______________________________________________
Zope-CMF maillist - Zope-CMF [at] zope
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Subject User Time
2.3 charlie.clark at clark-consulting Mar 20, 2012, 8:14 AM
    Re: 2.3 jens at dataflake Mar 20, 2012, 3:25 PM
        Re: 2.3 tseaver at palladion Mar 20, 2012, 4:36 PM
            Re: 2.3 charlie.clark at clark-consulting Mar 21, 2012, 7:55 AM
                Re: 2.3 jens at dataflake Mar 21, 2012, 8:47 AM
                    Re: 2.3 charlie.clark at clark-consulting Mar 21, 2012, 9:56 AM
                Re: 2.3 y.2012 at wcm-solutions Apr 3, 2012, 5:11 AM
                    Re: 2.3 charlie.clark at clark-consulting Apr 3, 2012, 5:55 AM
                        Re: 2.3 jens at dataflake Apr 3, 2012, 6:13 AM
                        Re: 2.3 jens at dataflake Apr 4, 2012, 2:17 AM
                            Re: 2.3 charlie.clark at clark-consulting Apr 4, 2012, 8:45 AM
                                Re: 2.3 charlie.clark at clark-consulting Apr 4, 2012, 10:54 AM
                                    Re: 2.3 jens at dataflake Apr 4, 2012, 2:33 PM
                                        Re: 2.3 charlie.clark at clark-consulting Apr 5, 2012, 8:08 AM
                                            Re: 2.3 jens at dataflake Apr 5, 2012, 8:35 AM
                                                Re: 2.3 charlie.clark at clark-consulting Apr 5, 2012, 9:02 AM
        Re: 2.3 jens at dataflake Mar 21, 2012, 2:58 PM
            Re: 2.3 charlie.clark at clark-consulting Mar 22, 2012, 4:18 AM
                Re: 2.3 y.2012 at wcm-solutions Mar 22, 2012, 5:28 AM
                    Re: 2.3 charlie.clark at clark-consulting Mar 22, 2012, 5:42 AM
                        Re: 2.3 jens at dataflake Mar 22, 2012, 5:46 AM
                            Re: 2.3 charlie.clark at clark-consulting Mar 22, 2012, 6:23 AM
                        Re: 2.3 charlie.clark at clark-consulting Mar 22, 2012, 6:02 AM
                    Re: 2.3 charlie.clark at clark-consulting Apr 9, 2012, 2:10 PM
                        Re: 2.3 jens at dataflake Apr 11, 2012, 12:41 AM
                            Re: 2.3 y.2012 at wcm-solutions Apr 11, 2012, 1:16 AM
                                Re: 2.3 charlie.clark at clark-consulting Apr 11, 2012, 3:33 AM
            Re: 2.3 charlie.clark at clark-consulting Mar 31, 2012, 8:03 AM
                Re: 2.3 jens at dataflake Mar 31, 2012, 10:28 AM
    Re: 2.3 y.2012 at wcm-solutions Apr 3, 2012, 5:14 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.