Bug 854913 - Pet store example offers tank in wrong situation.
Summary: Pet store example offers tank in wrong situation.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: Examples
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-06 09:45 UTC by jgargula
Modified: 2025-02-10 03:20 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:20:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description jgargula 2012-09-06 09:45:24 UTC
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:

Comment 5 Red Hat Bugzilla 2025-02-10 03:20:45 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


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