[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Bug in simple demo
Quoting Ed LaFrance (edlafrance@printexusa.com):
>
> If you are refering to the 4.0a version, well, that was the case in the
> 3.1x versions as well. I don't know that I would call it a bug. I would
> tend to think of a cart nickname as being a key to a record. We know that
> spaces in product codes (keys) can cause problems with the products db, why
> should carts be any different?
>
> - Ed L.
You think like I do. 8-)
But I do recognize the problem; it is easy to get around in 4.0,
either as a fixed entry in Catalog.cfg:
Filter c_nickname no_white
or in a page:
[input-filter name=c_nickname op=no_white]
[/input-filter]
or even:
[input-filter name=c_nickname]
my $key = $mv_filter_value;
# remove all but word and hyphen characters
$key =~ s/[^-\w]+//g;
return $key;
[/input-filter]
--
Mike Heins http://www.minivend.com/ ___
Internet Robotics |_ _|____
Function in chaos, finish in 131 Willow Lane, Floor 2 | || _ \
style. -- Unknown Oxford, OH 45056 | || |_) |
<mikeh@minivend.com> |___| _ <
513.523.7621 FAX 7501 |_| \_\