#22 — Error while traversing particular zope path

by Fabien Moret last modified May 11, 2010 03:54 PM
State Tested and confirmed closed
Version: 3.0
Area Functionality
Issue type Bug
Severity Medium
Submitted by Fabien Moret
Submitted on Apr 28, 2010
Responsible Andriy Mylenkyi
Target release: 3.0.4
The request URL is:

http:// (--) localhost:8080/newgetpaid/+shippingrates/SolgemaShippingRate

+shippingrates is a zope page
SolgemaShippingRate is also a zope page

this is a PloneGetPaid architecture to add particular PGP items in their control panel


    * URL: file:/home/Solgema/solgema/src/Martronic.Solgema/Martronic/Solgema/skins/Solgema/solgema_templates/main_template.pt
      Line 39, Column 4
      Expression: <StringExpr u'plone.htmlhead'>
      Names:

      {'container': <Products.Five.metaclass.SolgemaShippingRateAdding object at 0xe4e6fd0>,
       'context': <Products.Five.metaclass.SolgemaShippingRateAdding object at 0xe4e6fd0>,
       'default': <object object at 0x7f5f74087200>,
       'here': <Products.Five.metaclass.SolgemaShippingRateAdding object at 0xe4e6fd0>,
       'loop': {},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xe7ea050>,
       'request': <HTTPRequest, URL=http://localhost:8080/[…]/SolgemaShippingRate>,
       'root': <Application at >,
       'template': <ImplicitAcquirerWrapper object at 0xe7f1dd0>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>,
       'view': <Products.Five.metaclass.SolgemaShippingRateAddForm object at 0xe66f850>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0xe7f1e90>}

    * Module Products.Five.browser.providerexpression, line 34, in __call__
    * Module zope.viewlet.manager, line 104, in update
    * Module quintagroup.seoptimizer.browser.viewlets, line 154, in update
    * Module zope.component._api, line 102, in getMultiAdapter
    * Module zope.component._api, line 115, in queryMultiAdapter
    * Module zope.component.registry, line 216, in queryMultiAdapter
    * Module zope.interface.adapter, line 482, in queryMultiAdapter
    * Module quintagroup.seoptimizer.browser.views, line 39, in __init__
    * Module plone.memoize.view, line 55, in memogetter
    * Module quintagroup.seoptimizer.browser.views, line 46, in _getSEOTags

TypeError: ('Could not adapt', <Products.Five.metaclass.SolgemaShippingRateAdding object at 0xe4e6fd0>, <InterfaceClass quintagroup.canonicalpath.interfaces.ICanonicalLink>)

Added by Quintagroup on May 05, 2010 08:17 AM
Issue state: UnconfirmedResolved
Target release: None3.0.4
This issue was fixed in 3.0.4 version. We added code and test to prevent page rendering breaks in case ICanonicalLink adapter is not found for a context.

Also, we fixed migration bug if ICanonicalAdapter is not found for migrated object.
Added by Andriy Mylenkyi on May 11, 2010 03:54 PM
Issue state: ResolvedTested and confirmed closed
Responsible manager: (UNASSIGNED)mylanium

No responses can be added.