Akopia Akopia Services

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

Re: [mv] Order Groups



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

Quoting Mike Heins (mikeh@minivend.com):
> > I copied the original code from the docs and changed the item-codes to
> > fit my products: 
> > 
> > 	<FORM ACTION="[process-target]" METHOD=POST>
> > 	<INPUT TYPE=hidden NAME=mv_todo ACTION=refresh>
> > 	<INPUT TYPE=hidden NAME=mv_order_group VALUE="1">
> > 	<INPUT TYPE=hidden NAME=mv_order_item VALUE="1">
> > 	<INPUT TYPE=hidden NAME=mv_order_item VALUE="2">
> > 	<INPUT TYPE=submit VALUE="Order the Mona Lisa with frame">
> > 	</FORM>
> > 
> > There's always an error message saying: "No action passed for processing"
> > I searched the V4 Demo Shop but it seems like order groups aren't included
> > in it. I searched the mail list archives also, but didn't find anything
> > related to my problem.
> > 
> > Would be great if one of you could help
> > 
> 
> This is a bug. Fix will be forthcoming....
> 

One-line patch:

*** /tmp/minivend-4.03/lib/Vend/Order.pm	Sat Mar 25 02:16:49 2000
--- /rt/Order.pm	Wed Apr  5 16:06:21 2000
***************
*** 1709,1715 ****
  	$j = 0;
  	my $set;
  	foreach $code (@items) {
! 	  
         $quantity = defined $quantities[$j] ? $quantities[$j] : 1;
         ($j++,next) unless $quantity;
  	   $set = $quantity =~ s/^=//;
--- 1709,1715 ----
  	$j = 0;
  	my $set;
  	foreach $code (@items) {
! 	   undef $item;
         $quantity = defined $quantities[$j] ? $quantities[$j] : 1;
         ($j++,next) unless $quantity;
  	   $set = $quantity =~ s/^=//;



A better test and patch will be in the next release. Thanks for reporting
the bug in such a way that I could find it! 

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

Friends don't let friends use Outlook. -- Bob Blaylock
-
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: