The criterion I have given in my last mail was not right. Sorry.
It's a problem of SelectedManagementView

Here is the log of 1) defaultView being ignored and 2) being processed
(not being ignored). -- Well, forget about the 'predecessors', 1.a, 2.a.

The difference is obviously the request I have *marked bold*. It queries
a SelectedManagementView. This sends a http 303 but the 'other page'
information it sends ignores the <browser:defaultView>-directive.

1)

1.a) predecessor of ignoring:
127.0.0.1 - - [6/Jan/2006:13:38:16 +0100] "GET
/++skin++Paradigm/categories/@@contents.html HTTP/1.1" 200 11552
"http://localhost:8080/++skin++Paradigm/categories/@@Edit.html";
"Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10)Gecko/20050925
Firefox/1.0.4 (Debian package 1.0.4-2sarge5)"
127.0.0.1 - - [6/Jan/2006:13:38:16 +0100] "GET
/++skin++Paradigm/@@/zope3_tablelayout.css HTTP/1.1" 304 0
"http://localhost:8080/++skin++Paradigm/categories/@@contents.html";
"Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050925
Firefox/1.0.4 (Debian package 1.0.4-2sarge5)"
127.0.0.1 - - [6/Jan/2006:13:38:16 +0100] "GET
/++skin++Paradigm/@@/paradigm.css HTTP/1.1" 304 0
"http://localhost:8080/++skin++Paradigm/categories/@@contents.html";
"Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050925
Firefox/1.0.4 (Debian package 1.0.4-2sarge5)"
127.0.0.1 - - [6/Jan/2006:13:38:16 +0100] "GET
/++skin++Paradigm/@@/zope3.js HTTP/1.1" 304 0
"http://localhost:8080/++skin++Paradigm/categories/@@contents.html";
"Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050925
Firefox/1.0.4 (Debian package 1.0.4-2sarge5)"
127.0.0.1 - - [6/Jan/2006:13:38:16 +0100] "GET
/++skin++Paradigm/@@/xmltree.js HTTP/1.1" 304 0
"http://localhost:8080/++skin++Paradigm/categories/@@contents.html";
"Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050925
Firefox/1.0.4 (Debian package 1.0.4-2sarge5)"
127.0.0.1 - - [6/Jan/2006:13:38:16 +0100] "GET
/++skin++Paradigm/categories/@@singleBranchTree.xml HTTP/1.1" 200 597
"-" "Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050925
Firefox/1.0.4 (Debian package 1.0.4-2sarge5)"


1.b) ignoring:
*127.0.0.1 - - [6/Jan/2006:13:38:48 +0100] "GET
/++skin++Paradigm/categories/Funktion%2C%20ideologisch/@@SelectedManagementView.html
HTTP/1.1" 303 0
"http://localhost:8080/++skin++Paradigm/categories/@@contents.html";
"Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050925
Firefox/1.0.4 (Debian package 1.0.4-2sarge5)"*
127.0.0.1 - - [6/Jan/2006:13:38:48 +0100] "GET
/++skin++Paradigm/categories/Funktion%2C%20ideologisch/@@Edit.html
HTTP/1.1" 200 9245
"http://localhost:8080/++skin++Paradigm/categories/@@contents.html";
"Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050925
Firefox/1.0.4 (Debian package 1.0.4-2sarge5)"
127.0.0.1 - - [6/Jan/2006:13:38:48 +0100] "GET
/++skin++Paradigm/categories/Funktion%2C%20ideologisch/@@singleBranchTree.xml
HTTP/1.1" 200 910 "-" "Mozilla/5.0(X11; U; Linux i686; de-DE; rv:1.7.10)
Gecko/20050925 Firefox/1.0.4 (Debian package 1.0.4-2sarge5)"


2)


2.a) predecessor of processing:
127.0.0.1 - - [6/Jan/2006:13:40:54 +0100] "GET
/++skin++Paradigm/categories/ HTTP/1.1" 200 6444
"http://localhost:8080/++skin++Paradigm/categories/Funktion%2C%20ideologisch/@@Edit.html";
"Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050925
Firefox/1.0.4 (Debian package 1.0.4-2sarge5)"
127.0.0.1 - - [6/Jan/2006:13:40:54 +0100] "GET
/++skin++Paradigm/@@/zope3_tablelayout.css HTTP/1.1" 304 0
"http://localhost:8080/++skin++Paradigm/categories/"; "Mozilla/5.0 (X11;
U; Linux i686; de-DE; rv:1.7.10) Gecko/20050925 Firefox/1.0.4(Debian
package 1.0.4-2sarge5)"
127.0.0.1 - - [6/Jan/2006:13:40:54 +0100] "GET
/++skin++Paradigm/@@/paradigm.css HTTP/1.1" 304 0
"http://localhost:8080/++skin++Paradigm/categories/"; "Mozilla/5.0 (X11;
U; Linux i686; de-DE; rv:1.7.10) Gecko/20050925 Firefox/1.0.4 (Debian
package 1.0.4-2sarge5)"
127.0.0.1 - - [6/Jan/2006:13:40:54 +0100] "GET
/++skin++Paradigm/@@/zope3.js HTTP/1.1" 304 0
"http://localhost:8080/++skin++Paradigm/categories/"; "Mozilla/5.0 (X11;
U; Linux i686; de-DE; rv:1.7.10) Gecko/20050925 Firefox/1.0.4 (Debian
package 1.0.4-2sarge5)"
127.0.0.1 - - [6/Jan/2006:13:40:54 +0100] "GET
/++skin++Paradigm/@@/xmltree.js HTTP/1.1" 304 0
"http://localhost:8080/++skin++Paradigm/categories/"; "Mozilla/5.0 (X11;
U; Linux i686; de-DE; rv:1.7.10) Gecko/20050925 Firefox/1.0.4 (Debian
package 1.0.4-2sarge5)"
127.0.0.1 - - [6/Jan/2006:13:40:54 +0100] "GET
/++skin++Paradigm/categories/@@singleBranchTree.xml HTTP/1.1" 200 597
"-" "Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050925
Firefox/1.0.4 (Debian package 1.0.4-2sarge5)"



2.b) processing:
127.0.0.1 - - [6/Jan/2006:13:41:12 +0100] "GET
/++skin++Paradigm/categories/Funktion%2C%20ideologisch HTTP/1.1" 200
8352 "http://localhost:8080/++skin++Paradigm/categories/"; "Mozilla/5.0
(X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050925 Firefox/1.0.4
(Debian package 1.0.4-2sarge5)"
127.0.0.1 - - [6/Jan/2006:13:41:12 +0100] "GET
/++skin++Paradigm/categories/Funktion%2C%20ideologisch/@@singleBranchTree.xml
HTTP/1.1" 200 910 "-" "Mozilla/5.0(X11; U; Linux i686; de-DE; rv:1.7.10)
Gecko/20050925 Firefox/1.0.4 (Debian package 1.0.4-2sarge5)"




Christian







Christian Lück wrote:
> Hi!
> 
> The <browser:defaultView> directive is not being processed consequently.
> Sometimes it gets ignored.
> The criterion for being ignored or not has nothing to do with absolute
> or relative urls.  The difference rather seems whether the view from
> which an unspecific object-view is called uses the 'view' or the 'page'
> standard_macro.
> Experiment: Try to browse your content
> 1) from /@@index.html
> 2) and from /@@contents.html
> and you will get the diff/e/rence.
> 
> It gets ignored for 'view'-based views as predecessors for the view in
> question and is processed for 'page'-views as predecessors.
> 
> Is this intended?
> 
> (Hm, I don't get why this could be so, because http is stateless... )
> 
> 
> Regards,
> Christian
> 
> 
> PS. I apologize for my english in this mail and its predecessors,
> especially for hyphenation and commas.
> _______________________________________________
> Zope3-users mailing list
> Zope3-users@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
> 

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to