collective / collective/collective.immediatecreate
ComponentLookupError with yafowil.plone
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
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.
```code
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: ((, None, ), , u'')
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at collective.immediatecreate.editing line 85 and reproduce the ++addimmediate++ request on a content type using yafowil.plone. Trace the form update into z3c.form's SequenceSelectFieldWidget and the reported component lookup. Done means the immediate-create form updates without ComponentLookupError for content types both with and without the immediatecreate behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100