[Zope] ZopeDud was: HELP! Double outputs!

Paul Zwarts paz@oratrix.com
Mon, 14 May 2001 17:20:37 +0200


Hi Tino,

Thanks for the quick response... Of course the obvious is true.... I had
ASSUMEd that my referential integrity was setup properly when migrating my
databases. Not so.... do a select and sure be it that i find duplicates....
Thanks very much, you have destressed me quite effectively.

BUT,

What remains to be said. Even IF there are two alike rows, then shouldnt:

<dtml-in "something(pk=1)" size=1>
   dtml-var pk>
</dtml-in>

Output the record only once?


Paz
-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Tino
Wildenhain
Sent: 14 May 2001 17:09
To: Paul Zwarts; Zope
Subject: Re: [Zope] HELP! Double outputs!


Hi Paul,

you arent using any in-tags in your orderform by chance?
May be they are supposed to only run one time but really
run twice from duplicate database rows?

Regards
Tino

--On Montag, 14. Mai 2001 16:55 +0200 Paul Zwarts <paz@oratrix.com> wrote:

> Oh woe is the day....
>
> I'm totally frazzled by this. I have moved a test zope install to a unix
> server running another one. Both are configured for separate ports...
>
> I have a structure something like this
>
> <var logic>
> <var header>
> <var orderform>
> <var footer>
>
> (very basic description)
>
> What I get is:
>
>
> <var logic> - okay
> <var header> - okay
> <var orderform> - okay
> <var orderform> - not okay
> <var footer>
>
>
> This application lives on several test machines and none of them have any
> such problems. What duplicates is also very selective as well... Im not
> sure where to go for debug info... z2.py started with the -D optioin shows
> nothing. Apache shows nothing (even though the problematic zope is
> refferenced directly to ZServer through port 8085)
>
>
> The logging of REQUEST and SESSION reveal nothing. Putting in <dtml-var
> sequence-key> doesnt show an miscreant <dtml-in> that loops one two many.
> I am really lost....
>
> Its Zope-232 with PGSQL703, PoPy 2.01 and the latest ZPoPy adapter.
> Perhaps there is a bug here or someone has expereinced the same thing?
>
>
> I cant be more than vague without writing an essay... But perhaps someone
> can tell me how to monitor the Zope stack?
>
>
> Thanks very much,
> Paz
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )





_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )