kapilt / getpaid

Automatically exported from code.google.com/p/getpaid
0 stars 0 forks source link

PloneGetPaid.browser.cart.py ValueError #245

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make payable a page
1. in the portlet-cart, you have the oppportunity to change the number of
the items, by default 1
2. accidently, a letter string

What is the expected output? What do you see instead?

an error is raised : Valueerror invalid literal in
Products.PloneGetPaid.browser.cart lin 79 in addCart

What version of the product are you using? On what version of Plone? How
did you install it (tarball vs buildout vs...)?
PloneGetPaid 0.7.5
there is no check :
  qty= int(self.request.get('quantity',1))

Please provide any additional information below.

Original issue reported on code.google.com by danielle...@gmail.com on 10 Apr 2009 at 5:35