[Devel] [ openser-Bugs-1652854 ] t_relay() always returns error
after t_newtran()
SourceForge.net
noreply at sourceforge.net
Tue Feb 6 23:14:35 CET 2007
Bugs item #1652854, was opened at 2007-02-06 01:34
Message generated for change (Comment added) made by amr42
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1652854&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Kobi Eshun (ekobi)
Assigned to: Bogdan (bogdan_iancu)
Summary: t_relay() always returns error after t_newtran()
Initial Comment:
The documentation for t_relay() claims that "The coresponding transaction may or may not be already created. If not yet created, the function will automatically create it."
But t_relay() always returns an error if t_newtran() has been called beforehand.
--
kobi
----------------------------------------------------------------------
Comment By: Aron Rosenberg (amr42)
Date: 2007-02-06 22:14
Message:
Logged In: YES
user_id=43318
Originator: NO
We would see this error in the logs if we called t_relay after calling
t_newtran
/usr/sbin/openser[15747]: ERROR: t_newtran: transaction already in
process 0xb5b68788
The only difference is that we were calling t_relay in a different route[]
block from where we called t_newtran.
so
route[0]
{
t_newtran();
route[1];
}
route[1]
{
t_relay(); <--- error above printed here.
}
----------------------------------------------------------------------
Comment By: Bogdan (bogdan_iancu)
Date: 2007-02-06 09:16
Message:
Logged In: YES
user_id=1275325
Originator: NO
Hi Kobi,
I just tested a simple script like:
t_newtran();
xlog("-----------newtran=$retcode\n");
t_relay();
xlog("-----------newtran=$retcode\n");
and everything went ok.
could you please post the relevant part of the script you are using? also,
the debug output will be very helpful.
thanks and regards,
bogdan
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-02-06 01:54
Message:
Logged In: NO
This is if you call t_relay later in the same script execution line as
t_newtran
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1652854&group_id=139143
More information about the Devel
mailing list