Did I type that? Brrrr.. I meant to tell that I'm sure the object is in _local_ scope (so it's for that taf file only)
-thijs > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Cadillac > Sent: Friday, May 17, 2002 9:35 AM > To: Multiple recipients of list witango-talk > Subject: Re: Witango-Talk: Value in variable suddenly changes > > > Hi Thijs, > > > The object is loaded in user scope (because I merely use it as a > collection > > of common functions). My variable (contact_id) is in user_scope. > > Hmmm.... This sounds odd because your debugging says you loaded > your TCF in > Local Scope: > > > > > > > [Query] [233] (object creation of object > > > > > > TCF://contact.tcf:Local$contact_object > > Loading TCF in Local Scope is the recommended fashion, because many of us > have found that loading TCFs in any Scope other than Local can cause some > very odd behavior - which you are describing. Is your debugging from a > different file than the one you are having trouble with? > > Just trying to help :-} > > Scott Cadillac > http://xml-extra.net > [EMAIL PROTECTED] > > VP, Research and Development > Plus International Corp. > 604-460-1843 > [EMAIL PROTECTED] > http://www.plusinternational.com > > Vancouver, BC, Canada > > Does your company have an Enterprise Information Portal? Check > out Salsa at > www.plusinternational.com/flash/salsa.htm > > ----- Original Message ----- > From: "Thijs Kroesbergen" <[EMAIL PROTECTED]> > To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]> > Sent: Friday, May 17, 2002 8:50 AM > Subject: RE: Witango-Talk: Value in variable suddenly changes > > > > Scott, > > > > The object is loaded in user scope (because I merely use it as a > collection > > of common functions). My variable (contact_id) is in user_scope. While > > testing there are no other users active on the site, so the > variable can't > > be changed by some other user. Besides from that, if it > suddenly changes, > it > > changes to 2 certain other numbers (always the same), which are 100% > > certainly nowhere in the code. It's weird.. I'll try adding the scope in > all > > instances where I typed @@contact_id (and all others). In all assignment > > actions I already specified the scope. > > > > -thijs > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Cadillac > > > Sent: Thursday, May 16, 2002 5:35 PM > > > To: Multiple recipients of list witango-talk > > > Subject: Re: Witango-Talk: Value in variable suddenly changes > > > > > > > > > Hi Thijs, > > > > > > Although you may be using User as your default Scope, I would > recommend > > > explicitly typing the scope with all variables, like so: > > > > > > @@user$contact_id > > > > > > TCF files are known to have some inconsistent behavior - > especially when > > > loaded in any Scope other than Local, so it could be > something with the > > > 'searching for Scope rules' of your typed variable when used in TCF > Method > > > field?? > > > > > > Not much help I know, but worth a try.... > > > > > > ----- Original Message ----- > > > From: "Thijs Kroesbergen" <[EMAIL PROTECTED]> > > > To: "Multiple recipients of list witango-talk" > <[EMAIL PROTECTED]> > > > Sent: Thursday, May 16, 2002 5:01 PM > > > Subject: RE: Witango-Talk: Value in variable suddenly changes > > > > > > > > > > Hey Scott, > > > > > > > > I typed @@contact_id . I don't mangle contact_id in any way in those > > > files. > > > > There is no function in those TAF files that changes the variable. > Only > > > some > > > > that read it. The weirdest thing is that the page works most of > > > the time, > > > > but not always. > > > > > > > > -thijs > > > > > > > > > -----Original Message----- > > > > > From: [EMAIL PROTECTED] > > > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Cadillac > > > > > Sent: Thursday, May 16, 2002 4:34 PM > > > > > To: Multiple recipients of list witango-talk > > > > > Subject: Re: Witango-Talk: Value in variable suddenly changes > > > > > > > > > > > > > > > Hi Thijs, > > > > > > > > > > Your debugging shows: > > > > > > > > > > TCF://contact.tcf:Local$contact_object with parameters > > > [contact_id=501216] > > > > > > > > > > The parameter value shown here is incorrect obviously - but > > > > > doesn't say how > > > > > the value was put there. What variable have you typed in the > > > > > input field of > > > > > the Method? > > > > > > > > > > Just wondering.... > > > > > > > > > > Scott Cadillac > > > > > http://xml-extra.net > > > > > [EMAIL PROTECTED] > > > > > > > > > > VP, Research and Development > > > > > Plus International Corp. > > > > > 604-460-1843 > > > > > [EMAIL PROTECTED] > > > > > http://www.plusinternational.com > > > > > > > > > > Vancouver, BC, Canada > > > > > > > > > > Does your company have an Enterprise Information Portal? Check > > > > > out Salsa at > > > > > www.plusinternational.com/flash/salsa.htm > > > > > > > > > > ----- Original Message ----- > > > > > From: "Thijs Kroesbergen" <[EMAIL PROTECTED]> > > > > > To: "Multiple recipients of list witango-talk" > > > <[EMAIL PROTECTED]> > > > > > Sent: Thursday, May 16, 2002 4:24 PM > > > > > Subject: Witango-Talk: Value in variable suddenly changes > > > > > > > > > > > > > > > > Hi there, > > > > > > > > > > > > I have a user scope variable already defined at the start of my > > > > > TAF file. > > > > > > Then I pass this variable to a function, and suddenly the value > > > > > changes!! > > > > > > This doesn't happen all the time. It just happens randomly every > few > > > > > > refreshes of the page. It also happens in other pages as well > > > > > (but always > > > > > > this variable). The variable that jumps around is > "contact_id" It > > > starts > > > > > as > > > > > > 508898 changes to 501216 but finally returns to 508898 in the > > > > > [user$ Vars] > > > > > > block a the bottom of the page. > > > > > > > > > > > > I'm running WiTango Studio 4.5 (Yeah) and Tango Server > 2000 (with > > > latest > > > > > > service packs) on Win2000 server/IIS 5. The database backed > > > is MS SQL > > > > > 2000. > > > > > > The tango server consumes about 24mb of memory, no > > > excessive cpu load. > > > > > > > > > > > > Any ideas how this could have happened? > > > > > > > > > > > > -thijs > > > > > > > > > > > > A part of the debug log of my page: > > > > > > > > > > > > [Application File] [233] START /ChaZa/final/detailFrame.taf > > > > > > Tango_2000_Server action=tasks > > > > > > [user$ Vars] [233] NH_show=7 alarmrows=0 alarmstatus=1 > > > > > > bottomframe=/ChaZa/final/bottom_menu.taf contact_id=508898 > > > > > > detailFrame_group=detailFrame.taf?action=group_groupmembers > > > > > > detailframe_contact=/ChaZa/final/detailFrame.taf?action=tasks > > > > > > infoframe=/ChaZa/final/infoFrame.taf > > > > > > mainframe=/ChaZa/final/contact.taf?action=lastContact > > > > > > maximum_infoFrame_size=275 minimum_infoFrame_size=195 > > > > > > table_header_interval=15 timeout=10000 title=Cha Za > user_id=508898 > > > > > > user_name=tt variableTimeout=30 > > > > > > [If Action] [233] If_Logged_In > > > > > > [Create Object Action] [233] Create_contact_object > > > > > > [Query] [233] (object creation of object > > > > > > TCF://contact.tcf:Local$contact_object > > > > > > [Thread] [250] Looking for class in <@APPFILEPATH>contact.tcf > > > > > > [Thread] [250] Getting network file > > > > > > c:/inetpub/wwwroot/ChaZa\final\contact.tcf > > > > > > [Thread] [250] Got file > > > > > > [Thread] [533] Network file loaded: ChaZa\final\contact.tcf > > > > > > [Create Object Action] [533] Create_group_object > > > > > > [Query] [533] (object creation of object > > > > > TCF://group.tcf:Local$group_object > > > > > > [Thread] [533] Looking for class in <@APPFILEPATH>group.tcf > > > > > > [Thread] [533] Getting network file > > > > > c:/inetpub/wwwroot/ChaZa\final\group.tcf > > > > > > [Thread] [533] Got file > > > > > > [Thread] [616] Network file loaded: ChaZa\final\group.tcf > > > > > > [If Action] [616] noteshistory > > > > > > [ElseIf Action] [616] note > > > > > > [ElseIf Action] [616] tasks > > > > > > [Call Method Action] [616] Tasks_Is_Group > > > > > > [Query] [616] (method invocation of method Is_Group of object > > > > > > TCF://contact.tcf:Local$contact_object with parameters > > > > > [contact_id=501216] > > > > > > *BOOM* > > > > > > ... but... in user$ vars it shows the right ID at the end of the > > > page.. > > > > > > > > > > > > > > > > > > > > > > ________________________________________________________________________ > > > > > > TO UNSUBSCRIBE: send a plain text/US ASCII email to > > > [EMAIL PROTECTED] > > > > > > with unsubscribe witango-talk in the > message body > > > > > > > > > > > > > > > > > > > > ________________________________________________________________________ > > > > > TO UNSUBSCRIBE: send a plain text/US ASCII email to > > > [EMAIL PROTECTED] > > > > > with unsubscribe witango-talk in the message body > > > > > > > > > > > > > > > > > > > > > > > ________________________________________________________________________ > > > > TO UNSUBSCRIBE: send a plain text/US ASCII email to > [EMAIL PROTECTED] > > > > with unsubscribe witango-talk in the message body > > > > > > > > > > > ________________________________________________________________________ > > > TO UNSUBSCRIBE: send a plain text/US ASCII email to > [EMAIL PROTECTED] > > > with unsubscribe witango-talk in the message body > > > > > > > > > > > > ________________________________________________________________________ > > TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] > > with unsubscribe witango-talk in the message body > > > > ________________________________________________________________________ > TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] > with unsubscribe witango-talk in the message body > > ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
