Bug 1307109

Summary: drag and drop on storage profiles redirects to a login page
Product: [Red Hat Storage] Red Hat Storage Console Reporter: Martin Bukatovic <mbukatov>
Component: UIAssignee: sankarshan <sankarshan>
Status: CLOSED CURRENTRELEASE QA Contact: sds-qe-bugs
Severity: low Docs Contact:
Priority: unspecified    
Version: 2CC: mkudlej, nthomas, sankarshan
Target Milestone: ---   
Target Release: 2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhscon-ceph-0.0.23-1.el7scon.x86_64, rhscon-core-0.0.24-1.el7scon.x86_64, rhscon-ui-0.0.39-1.el7scon.noarch Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-19 05:32:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot of a modal window with storage profile items on the left side none

Description Martin Bukatovic 2016-02-12 17:43:16 UTC
Created attachment 1123600 [details]
screenshot of a modal window with storage profile items on the left side

Description of problem
======================

In a modal window for Storage Profiles, it's possible to a use drag
and drop operation on storage profile items which redirects the user to
the login page immediately after mouse button is released - with an
unfortunate consequence of reset of the Create Cluster wizard so that the user
is forced to start over again.

Version-Release number of selected component
============================================

# rpm -qa 'rhscon*'
rhscon-ceph-0.0.6-2.el7.x86_64
rhscon-ui-0.0.11-1.el7.noarch
rhscon-core-0.0.8-2.el7.x86_64

How reproducible
================

100 %

Steps to Reproduce
==================

1. Start "Create Cluster" task
2. Select all hosts in "2. Select Hosts" page
3. Click on Edit link (right next to the number of disks in "Select Hosts" page)
4. When "modal window" for storage profiles is shown, 
   use drag and drop on one of storage profile items from the left panel

Actual results
==============

You are redirected to the login page:

http://mbukatov-usm2-server.usersys.redhat.com:8080/#/

And now you need to start filling out all the choices in the Create Cluster
wizard again. 

The "back" feature of the browser would take you to the starting point
in the wizard - no data are preserved.

Expected results
================

Nothing happens, this kind of operation is not valid.

Additional info
===============

This kind of bug has a potential to be extremely frustrating for the user.

Comment 3 Martin Kudlej 2016-07-25 14:52:58 UTC
Tested with 
ceph-ansible-1.0.5-31.el7scon.noarch
ceph-installer-1.0.14-1.el7scon.noarch
rhscon-ceph-0.0.36-1.el7scon.x86_64
rhscon-core-0.0.36-1.el7scon.x86_64
rhscon-core-selinux-0.0.36-1.el7scon.noarch
rhscon-ui-0.0.50-1.el7scon.noarch
and it OK.