Chris McDonough <chr...@plope.com> added the comment:

I cant replicate this with the following configuration on 1.1b3:

In views.py:
---------------

from webob import Response

def my_view(context, request):
    return {'project':'starter'}

def one(context, request):
    return Response('one')

def two(context, request):
    return Response('two')

In configure.zcml:
---------------------

<configure xmlns="http://namespaces.repoze.org/bfg";>

  <!-- this must be included for the view declarations to work -->
  <include package="repoze.bfg.includes" />

  <route name="loginform" path="loginform/*traverse"/>
  <route name="signupform" path="signupform/*traverse"/>
  <route name="signupconfirm" path="signupconfirm/*traverse"/>

  <view name="login" view=".views.one" route_name="loginform" />
  <view name="login" view=".views.one" route_name="signupform" />
  <view name="login" view=".views.one" route_name="signupconfirm" />
  <view name="login" view=".views.two" />

</configure>

No matter where I move the "<view name="login" view=".views.two" />" line, I 
get the "right" 
answer from the webserver.

Also, for the record, no multiviews are ever registered in this configuration 
(in the zcml handler, 
"old_view" is always None).

I don't understand the issue yet.

__________________________________
Repoze Bugs <b...@bugs.repoze.org>
<http://bugs.repoze.org/issue105>
__________________________________
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to