zope.component 3.5.0 not allowing zope:utility declarations without a "provides" attribute
Bug #251865 reported by
tmog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 3 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I get a TypeError("Missing 'provides' attribute") on the first utility registration.
I notice that in zcml.py:utility() is is never checked what the "factory" provides, only the "component" is checked.
Is this the intended behavior?
Changed in zope3: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Bug in zope.component 3.5.0. I've got the fix ready.