contributes_to creates configuration conflicts when multiple modules are used
Bug #1294543 reported by
William Grant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lazr.restful |
Fix Committed
|
High
|
William Grant |
Bug Description
The implementation of extension interfaces with contributes_to explodes with zope.configuration conflicts when an interface and its contributors span multiple webservice:register directives. find_interfaces
This is a fatal flaw for the situation that contributes_to was meant to solve: it's not possible to have entry extensions pluggable by optional bits of ZCML.
Related branches
lp://qastaging/~wgrant/lazr.restful/cross-module-contribution
- Celso Providelo (community): Approve
-
Diff: 295 lines (+81/-78)4 files modifiedsrc/lazr/restful/NEWS.txt (+8/-0)
src/lazr/restful/metazcml.py (+67/-65)
src/lazr/restful/testing/helpers.py (+0/-5)
src/lazr/restful/tests/test_declarations.py (+6/-8)
Changed in lazr.restful: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.