summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-12-02 21:10:57 +0000
committerChris McDonough <chrism@agendaless.com>2009-12-02 21:10:57 +0000
commit6a6f6cc370c51f28536cbc1751176a6480ed5f68 (patch)
treeb8ff09ae7a9119e2f1198245877545186135ed9b /CHANGES.txt
parent16db57af0922f93026a5b046897acdaa8dd1e602 (diff)
downloadpyramid-6a6f6cc370c51f28536cbc1751176a6480ed5f68.tar.gz
pyramid-6a6f6cc370c51f28536cbc1751176a6480ed5f68.tar.bz2
pyramid-6a6f6cc370c51f28536cbc1751176a6480ed5f68.zip
- When two views were registered with differering ``for`` interfaces
or classes, and the ``for`` of first view registered was a superclass of the second, the ``repoze.bfg` view machinery would incorrectly associate the two views with the same "multiview". Multiviews are meant to be collections of views that have *exactly* the same for/request/viewname values, without taking inheritance into account. Symptom: wrong view callable found even when you had correctly specified a ``for_`` interface/class during view configuration for one or both view configurations.
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 9e3b3324e..67da5c179 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -8,6 +8,16 @@ Bug Fixes
along ``_query`` and/or ``_anchor`` arguments to the
``mapper.generate`` function, resulting in blowups.
+- When two views were registered with differering ``for`` interfaces
+ or classes, and the ``for`` of first view registered was a
+ superclass of the second, the ``repoze.bfg` view machinery would
+ incorrectly associate the two views with the same "multiview".
+ Multiviews are meant to be collections of views that have *exactly*
+ the same for/request/viewname values, without taking inheritance
+ into account. Symptom: wrong view callable found even when you had
+ correctly specified a ``for_`` interface/class during view
+ configuration for one or both view configurations.
+
Backwards Incompatibilities
---------------------------