I'm trying to create my first Python product in Zope, and I'm running into a strange problem. Basically I have two manage_options tabs (Edit and View). The Edit tab is a simple form to change the title property (I'm starting out very simple). The problem is that the Edit tab disappears after I submit the changes, and then reappears if I go back to folder the object is contained in and select the object again. To eliminate newbie mistakes as the cause of the problem, I uploaded the Addressit Product from the Zope Bible (the earliest version from Chapter 7, again to keep it simple). The problem occurs with that product, too. I'm running Zope 2.5.1 with Python 2.1.3 on Windows 2000 (binary distribution). I also have a Mac (OS X 10.1.5) with the same versions of Zope and Python, and both the Addressit Product and my own product work normally there (the Edit tab doesn't disappear). So I suspect some problem with the Windows binary distribution. Has anyone else seen this problem? Should I try getting a different distribution? Or is it safe for me to ignore the problem? Thanks, Barry Berenberg mailto:berenberg@alum.mit.edu
Barry Berenberg wrote:
Has anyone else seen this problem? Should I try getting a different distribution? Or is it safe for me to ignore the problem?
It is most likely you security settings that are incorrect. You only get thos thabs that you have the right to view. regards Max M -- "Sorry I would Really Like To Help More On This Project, But Am To Busy Doing Paid Work On A Tight Deadline" Max M
This appears to be a bug in IE 5.0 for Windows. I just tried the same actions in Opera 6.0 and the tabs did not disappear. Are there many other browser-specific problems that anyone is aware of? For example, using IE (either Windows or Mac), I am unable to add instances of add instances of ZClasses I have written - Zope just returns a NameError. (I once tracked down another reference to this on Zopera, but I'm unable to find it again.) Barry
-----Original Message----- From: Max M [mailto:maxm@mxm.dk] Sent: Thursday, July 18, 2002 6:08 AM To: berenberg@alum.mit.edu Cc: zope@zope.org Subject: Re: [Zope] Disappearing manage_options Tab
Barry Berenberg wrote:
Has anyone else seen this problem? Should I try getting a different distribution? Or is it safe for me to ignore the problem?
It is most likely you security settings that are incorrect. You only get thos thabs that you have the right to view.
regards Max M
--
"Sorry I would Really Like To Help More On This Project, But Am To Busy Doing Paid Work On A Tight Deadline" Max M
Barry Berenberg writes:
I'm trying to create my first Python product in Zope, and I'm running into a strange problem. Basically I have two manage_options tabs (Edit and View). The Edit tab is a simple form to change the title property (I'm starting out very simple). The problem is that the Edit tab disappears after I submit the changes, and then reappears if I go back to folder the object is contained in and select the object again. What result does the submitting action returns?
When you look at the Management Interface actions, they either redirect to a page or return a rendered page as result. Dieter
Dieter Maurer writes:
Barry Berenberg writes:
I'm trying to create my first Python product in Zope, and I'm running into a strange problem. Basically I have two manage_options tabs (Edit and View). The Edit tab is a simple form to change the title property (I'm starting out very simple). The problem is that the Edit tab disappears after I submit the changes, and then reappears if I go back to folder the object is contained in and select the object again. What result does the submitting action returns?
When you look at the Management Interface actions, they either redirect to a page or return a rendered page as result.
Did you see me followup response about the problem being browser-specific? When I switched to Opera 6.0 from IE 5.0, the tabs worked as expected. I did a bit more testing and narrowed it down to IE running on Windows. Here's what I tried: IE Zope Tabs OK? ------- --------- ---------- Win2K Win2K No Win2K MacOSX No MacOSX Win2K Yes MacOSX MacOSX Yes Opera on either platform managing Zope on either platform works just fine. Barry
Barry Berenberg wrote:
Did you see me followup response about the problem being browser-specific? When I switched to Opera 6.0 from IE 5.0, the tabs worked as expected.
I did a bit more testing and narrowed it down to IE running on Windows. Here's what I tried:
IE Zope Tabs OK? ------- --------- ---------- Win2K Win2K No Win2K MacOSX No MacOSX Win2K Yes MacOSX MacOSX Yes
Opera on either platform managing Zope on either platform works just fine.
It is probably an authentication problem then. As far as I remember there was a bug in some version of windows that didn't authenticate correctly. (Your authentication data is send with each page request) So some things would not show up because Zope correctly prohibits unauthorized acces. Upgrade browser. regards Max M -- "Sorry I would Really Like To Help More On This Project, But Am To Busy Doing Paid Work On A Tight Deadline" Max M
Max M wrote:
As far as I remember there was a bug in some version of windows that didn't authenticate correctly. (Your authentication data is send with each page request)
I meant to say that it was a bug in IE, not in Windows, even though MS claims they are the one and same thing. regards Max M -- "Sorry I would Really Like To Help More On This Project, But Am To Busy Doing Paid Work On A Tight Deadline" Max M
participants (3)
-
Barry Berenberg -
Dieter Maurer -
Max M