Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ComponentLookupError with yafowil.plone #3

Open
iham opened this issue May 25, 2019 · 1 comment
Open

ComponentLookupError with yafowil.plone #3

iham opened this issue May 25, 2019 · 1 comment

Comments

@iham
Copy link
Contributor

iham commented May 25, 2019

calling ++addimmediate++ on a ContentType using a behavior composed by yafowil.plone, throws this error no matter, the immediatecreate-behavior is upon this content type or not.

Traceback (innermost last):
  Module ZServer.ZPublisher.Publish, line 144, in publish
  Module ZPublisher.mapply, line 85, in mapply
  Module ZServer.ZPublisher.Publish, line 44, in call_object
  Module plone.z3cform.layout, line 63, in __call__
  Module plone.z3cform.layout, line 47, in update
  Module collective.immediatecreate.editing, line 85, in update
  Module plone.z3cform.fieldsets.extensible, line 65, in update
  Module plone.z3cform.patch, line 30, in GroupForm_update
  Module z3c.form.group, line 132, in update
  Module z3c.form.form, line 136, in updateWidgets
  Module z3c.form.field, line 257, in update
  Module zope.component._api, line 95, in getMultiAdapter
  Module zope.component._api, line 108, in queryMultiAdapter
  Module zope.interface.registry, line 359, in queryMultiAdapter
  Module zope.interface.adapter, line 552, in queryMultiAdapter
  Module z3c.form.browser.orderedselect, line 90, in SequenceSelectFieldWidget
  Module zope.component._api, line 97, in getMultiAdapter
ComponentLookupError: ((<zope.schema._field.Tuple object at 0x118a49c90>, None, <HTTPRequest, URL=http://localhost:8080/Plone/de/new-yafowilautoformexample/editimmediate>), <InterfaceClass z3c.form.interfaces.IFieldWidget>, u'')
@iham
Copy link
Contributor Author

iham commented May 25, 2019

might not be a yafowil issue...

i get the same error in a test layer:

*** ComponentLookupError: ((<zope.schema._field.Tuple object at 0x1094c8890>, None, <WSGIRequest, URL=None>), <InterfaceClass z3c.form.interfaces.IFieldWidget>, u'')

@iham iham closed this as completed May 26, 2019
@iham iham reopened this May 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant