Merge lp://staging/~gary/launchpad/bug403618 into lp://staging/launchpad

Proposed by Gary Poster
Status: Merged
Merged at revision: not available
Proposed branch: lp://staging/~gary/launchpad/bug403618
Merge into: lp://staging/launchpad
Diff against target: 13 lines (+2/-1)
1 file modified
lib/canonical/launchpad/zcml/librarian.zcml (+2/-1)
To merge this branch: bzr merge lp://staging/~gary/launchpad/bug403618
Reviewer Review Type Date Requested Status
Guilherme Salgado (community) Approve
Review via email: mp+19635@code.staging.launchpad.net
To post a comment you must log in.
Revision history for this message
Gary Poster (gary) wrote :

This branch fixes a misconfiguration discussed in bug 403618. It does not add a test because the example shown in the bug report does not duplicate the problem, because the problem is an extreme edge case, and, generally, because I believe the cost of writing the test would be much higher than the benefit, and I've gotten salgado and flacoste to agree. :-)

The branch passed ec2 already.

Revision history for this message
Guilherme Salgado (salgado) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/canonical/launchpad/zcml/librarian.zcml'
2--- lib/canonical/launchpad/zcml/librarian.zcml 2009-07-13 18:15:02 +0000
3+++ lib/canonical/launchpad/zcml/librarian.zcml 2010-02-18 17:21:18 +0000
4@@ -44,7 +44,8 @@
5
6 <!-- StreamOrRedirectLibraryFileAliasView -->
7 <class class="canonical.launchpad.browser.librarian.StreamOrRedirectLibraryFileAliasView">
8- <allow attributes="browserDefault __call__" />
9+ <allow attributes="__call__" />
10+ <allow interface="zope.publisher.interfaces.browser.IBrowserPublisher" />
11 </class>
12
13 </configure>