contributes_to creates configuration conflicts when multiple modules are used

Bug #1294543 reported by William Grant
6
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_and_contributors is run once per webservice:register, and does all of the aggregation internally, not considering that there might be other modules involved.

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

William Grant (wgrant)
Changed in lazr.restful:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.