Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Re: final mv3 -> mv4 puzzle [MV Bug, fixed]



******    message to minivend-users from Mike Heins <mikeh@minivend.com>     ******

Quoting Dan Busarow (dan@dpcsys.com):
> ******    message to minivend-users from Dan Busarow <dan@dpcsys.com>     ******
> 
> On Thu, 20 Apr 2000, Dan Busarow wrote:
> > With MV3 we had
> > 
> > [if data session ship_message]  
> > <B>Note:</B> [data session ship_message]
> > [/if]
> > 
> > and this is what the MV4 simple demo has as well.  It's not working though,
> > session ship_message is not getting set.
> > 
> > Possibly related is that the shipping method calculation using the
> > country table to get the shipmodes also fails for these over 150#
> > orders, that is the page ends up with a <select></select>.  I
> > changed that to a [loop arg="upsg upsb upsr"] and then get the
> > selections with the "correct" shipping of 0.00 for these.
> 
> Found it!  Bug in Interpolate.pm.  Here's the diff
> 
> stores $ diff -c Interpolate*
> *** Interpolate.pm      Fri Apr 21 15:39:34 2000
> --- Interpolate.pm.orig Fri Apr 21 15:37:30 2000
> ***************
> *** 4822,4828 ****
>                         last SHIPIT unless $o->{continue};
>                 }
>                 elsif ($what =~ s/^e\s*//) {
> !                       $error_message = $what;
>                         $error_message =~ s/^e\s*//;
>                         $error_message =~ s/\@\@TOTAL\@\@/$total/ig;
>                         $final = 0 unless $final;
> --- 4822,4828 ----
>                         last SHIPIT unless $o->{continue};
>                 }
>                 elsif ($what =~ s/^e\s*//) {
> !                       $error_message = $
>                         $error_message =~ s/^e\s*//;
>                         $error_message =~ s/\@\@TOTAL\@\@/$total/ig;
>                         $final = 0 unless $final;

Absolutely correct. I also removed the 

                         $error_message =~ s/^e\s*//;

line as redundant. Will be in 4.05...thanks Dan!

-- 
Internet Robotics, 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <mikeh@minivend.com>

I have a cop friend who thinks he ought be able to give a new ticket;
"too dumb for conditions".
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: