Hi all I have a member called 'dan'. I go to dan/edit and change his username to 'danny'. This means that his id must also change from 'dan' to 'danny'. This all works as expected. But if I now manually go to the URL members/dan it redirects me to members/danny!
The edit was done on http://adminboo/site/members/dan in Firefox on Linux. If I use IE on a Windows machine and attempt to go to http://adminboo/site/members/dan I am redirected to danny. The Windows machine has never before been to that object. The 301 persists through Zope restarts. Clearing the cookies in IE does not help. If I go to the object on http://boo/site/members/dan (different alias in my /etc/hosts) then I rightly get a NotFound error. Normally I would not care much about this redirect, except that it is somehow possible to land in a redirect loop. Firefox handles the situation nicely and displays an error message. Firebug show that a 301 Moved Permanently was set for members/dan. And the member is not really called dan - it is just easier to type. Response headers: Server: Zope/(Zope 2.10.6-final, python 2.4.4, linux2) ZServer/1.1 Plone/3.1.7 Date: Fri, 10 Apr 2009 10:33:33 GMT Bobo-Exception-Line: 682 Content-Length: 17649 Bobo-Exception-Value: See the server error log for details Content-Language: en-us Bobo-Exception-File: HTTPResponse.py Bobo-Exception-Type: NotFound Expires: Sat, 1 Jan 2000 00:00:00 GMT Location: http://adminboo:23190/fivefm/members/melattree/view Content-Type: text/html;charset=utf-8 X-Ksscommands: <?xml version="1.0"?> <kukit xmlns="http://www.kukit.org/commands/1.1"> <commands> <command name="error"> <param name="type">system</param> <param name="message">NotFound: &lt;h2&gt;Site Error&lt;/h2&gt; &lt;p&gt;An error was encountered while publishing this resource. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Debugging Notice&lt;/strong&gt;&lt;/p&gt; Zope has encountered a problem publishing your object.&lt;p&gt; Cannot locate object at: http://adminboo:23190/fivefm/members/melatree&lt;/p&gt; &lt;hr noshade="noshade"/&gt; &lt;p&gt;Troubleshooting Suggestions&lt;/p&gt; &lt;ul&gt; &lt;li&gt;The URL may be incorrect.&lt;/li&gt; &lt;li&gt;The parameters passed to this resource may be incorrect.&lt;/li&gt; &lt;li&gt;A resource that this resource relies on may be encountering an error.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;For more detailed information about the error, please refer to the error log. &lt;/p&gt; &lt;p&gt;If the error persists please contact the site maintainer. Thank you for your patience. &lt;/p&gt;</param> </command> </commands> </kukit> Any ideas? Hedley _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
