contributes_to creates configuration conflicts when multiple modules are used

Bug #1294543 reported by William Grant on 2014-03-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lazr.restful
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) on 2014-03-20
Changed in lazr.restful:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers