Red Hat Bugzilla – Bug 854913
Pet store example offers tank in wrong situation.
Last modified: 2013-01-10 20:36:09 EST
Description of problem:
Pet store example application offers to user buying a tank for fish despite the fact that there is one in the cart and then asks him/her this question several times.
Version-Release number of selected component (if applicable):
Follow the steps.
Steps to Reproduce:
1. Run runExamples.sh script
2. Click on PetStoreExample button
3. Add one "Fish Tank" and one "Fish Food" and then 10 "Gold Fish" to the cart in this order
4. Click "Checkout"
5. "Purchase Suggestion" dialog is shown with wrong number of fish. Click "No" 5 times and watch the number of fish
Wrong purchase suggestion and the dialogs with incrementing number.
No purchase suggestion (according to documentation http://docs.jboss.org/drools/release/5.3.0.Final/drools-expert-docs/html_single/#d0e9568).