[Zope] Mozilla 1.3 and Zope 2.5.1 manage not working nicely

Steve McMahon steve@reidmcmahon.com
Wed, 19 Mar 2003 09:05:31 -0800


I've seen this. What (I think) is going on is that add form for the 
ZClass has the add method's name for the action. A BASE HREF in the body 
area has the full URL of the factory, terminating with a slash -- as if 
it was a folder. Mozilla then tacks the add method's name on the end: 
"...factory/add_method", which fails.

IE seems to do the wrong thing, (though it works) taking the name of the 
factory off the path, then appending the add method's name.

This does not happen all the time, it even seems to be platform 
dependent. But in my mind the villain is the BASE HREF's slash after the 
factory name.

I've fixed this by making my add forms figure out a correct absolute url 
for the add method. But it ought not to be necessary.

Steve

Charles Y. Choi wrote:
> Chris Beaven wrote:
> 
>> Hrm, I've got Moz 1.3 (Win32) and have been connecting just fine to my 
>> 2.5.1 server... (and 2.6.1 test server)
>> What is "not working" exactly?
> 
> 
> 
> Sorry, my last message was not precise enough:
> 
> I get intermittent problems with instantiating new objects in Zope 
> 2.5.1. using Mozilla 1.3.  What will happen is
> that I will get unrendered HTML code in multiple panes and a message 
> that a global name is not defined such as:
> 
> NameError: global name 'SonicsBookmark' is not defined
> 
> where SonicsBookmark is a locally defined ZClass product.
> 
> 
> Any thoughts on this would be greatly appreciated.
> 
> Thanks!
> 
> -Charles
> 
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
> 


-- 
______________________________________________________

Steve McMahon
Reid-McMahon, LLC
steve@reidmcmahon.com
steve@dcn.org