[ic] Wierdness with Data tag and order routes....

Mike Heins interchange-users@interchange.redhat.com
Sat Oct 6 23:18:01 2001


Quoting Matthew Schick (matt@brightredproductions.com):
> Hey All,
> 
> 	I am wrapping up moving a catalog from v4.6x to 4.8.2.  I had setup a
> simple one-time 'New User' discount and everything has been hunky-dory
> until the change-over.
> 
> 	I was using:
> [data
> 	table=userdb
> 	column=na
> 	key="[data session username]"
> 	value="0"
> 	]
> 	
> 	in the log_transaction file to flag the account after the customer made
> their first purchase.  Now, with v4.8.2, this code no longer updates the
> 'na' column.
> 
> 	No errors are flagged anywhere, even in icdebug....  The order goes
> thru perfectly, but the field simply isn't updated with the correct
> value.

I think this is a bug in the changed tag_data routine (checking
$opt->{value} instead of defined $opt->{value}).

Workaround would be to put "+0" or "0.00" or even " ".

-- 
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mheins@redhat.com>

If you think nobody cares if you're alive, try missing a couple of
car payments.  -- Earl Wilson