Bug 854913 - Pet store example offers tank in wrong situation.
Pet store example offers tank in wrong situation.
Status: NEW
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: Examples (Show other bugs)
BRMS 5.3.0.GA
Unspecified Linux
unspecified Severity low
: ---
: ---
Assigned To: Tihomir Surdilovic
Lukáš Petrovický
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-06 05:45 EDT by jgargula
Modified: 2013-01-10 20:36 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description jgargula 2012-09-06 05:45:24 EDT
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):
BRMS 5.3.0.GA

How reproducible:
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
  
Actual results:
Wrong purchase suggestion and the dialogs with incrementing number.

Expected results:
No purchase suggestion (according to documentation http://docs.jboss.org/drools/release/5.3.0.Final/drools-expert-docs/html_single/#d0e9568).

Additional info:

Note You need to log in before you can comment on or make changes to this bug.