[Zope] RE: RE: [Zope] Acquisition problem

a.wacknitz@francotyp.com a.wacknitz@francotyp.com
Tue, 2 May 2000 10:16:52 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> -----Original Message-----
> From: Chris Withers [mailto:chrisw@nipltd.com]
> Sent: Monday, May 01, 2000 3:51 PM
> To: Andreas Wacknitz
> Cc: Zope Mailing List
> Subject: Re: [Zope] RE: RE: [Zope] Acquisition problem
> 
> 
> Andreas,
> 
> I just tried something identical myself and unfortunately I 
> can't reproduce your
> problem, it works fine and as you would expect for me (see my 
> reply to Chris
> Kucera... :-S )
> 
> What version of Zope are you using? I tired it with 2.1.4 and 
> 2.1.6 and both
> worked fine...
I am using Zope-2.1.6 on Windows.

> 
> Not being funny or anything but are you sure you haven't 
> mispelled anything. I
> think the reason I thought there was a problem in the first 
> place wih my stuff
> was that mis-spelled one of the property name, maybe 
> Folder1's Zeilenfarbe?
No, I have changed this more than once. I will get this behaviour
even if I log in with a manager role.

But I have another idea. Here is a code sequence I use:

...
    <dtml-in "SQL.sqlMitarbeiter(Abteilung=Abteilungsname)">
      <dtml-if sequence-even>
        <tr bgcolor="<dtml-var Zeilenfarbe>">
      <dtml-else>
        <tr>
      </dtml-if>
...

As you can see Zeilenfarbe is referenced within a dtml-in statement.
Is it possible that dtml-in changes the namespace? SQL is another
folder beneath / that holds most of my ZSQL stuff...
And if so, how can I force to use the local namespace?


> 
> How about any weird security problems?
No, as mentioned before this happens also for managers.

> 
> Try making everything in the test tree totally accessible 
> (properties as well as
> view, etc) and give it another go.
> 
> Apart from that, I'm out of ideas :S
Me too. What makes me wonder is the fact, that this has worked some
time ago and I do not know what I have done to break it.

> 
> Chris
> 
Andreas

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQA+AwUBOQ6BZ5rEH3uwEF1BEQIUTACYnTkEfJGa+hUG+9ixtgJ4kt8iBwCg1O6W
oVgJDn41iBVl19uicHkSaQ0=
=T08X
-----END PGP SIGNATURE-----
**********************************************************************
This email message has been swept by MIMEsweeper for the presence of
computer viruses.

Francotyp-Postalia AG & Co.