Bug 1377759 - self-service UI allows duplicate items in cart
Summary: self-service UI allows duplicate items in cart
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.8.0
Assignee: Martin Hradil
QA Contact: Nandini Chandra
URL:
Whiteboard: ssui
Depends On:
Blocks: 1380170 1384693
TreeView+ depends on / blocked
 
Reported: 2016-09-20 14:35 UTC by Josh Carter
Modified: 2020-01-17 15:56 UTC (History)
12 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1380170 1384693 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:23:11 UTC
Category: Feature
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Josh Carter 2016-09-20 14:35:39 UTC
Description of problem:

In the self-service portal UI after filling in the fields on the service dialog and clicking the "Add to Shopping Cart" button the screen stays on the filled out service dialog and the user is able to click the "Add to Shopping Cart" button again and again adding a duplicate request that will fail. In the operations portal the screen switches to the requests view after submitting a filled in service diaglog.

Version-Release number of selected component (if applicable): 5.6.1


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 8 CFME Bot 2016-09-30 14:22:16 UTC
New commit detected on ManageIQ/manageiq-ui-self_service/master:
https://github.com/ManageIQ/manageiq-ui-self_service/commit/35f5898d21e96ff64446a89239a781c4609b6b62

commit 35f5898d21e96ff64446a89239a781c4609b6b62
Author:     Martin Hradil <mhradil>
AuthorDate: Thu Sep 29 15:35:13 2016 +0000
Commit:     Martin Hradil <mhradil>
CommitDate: Thu Sep 29 15:35:17 2016 +0000

    ShoppingCart - add duplicate detection
    
    this keeps each item's data in the cart too, and runs duplicate detection on every shopping cart change
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1377759

 client/app/services/shopping-cart.service.js | 37 ++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Comment 12 Nandini Chandra 2017-03-08 23:40:27 UTC
Verified in 5.8.0.3


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