Bug 1533818 - Route creating settings can not get to the weight percentage bar again after switch to integers editing input boxes
Summary: Route creating settings can not get to the weight percentage bar again after ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 3.9.0
Assignee: Jon Jackson
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-12 10:01 UTC by XiaochuanWang
Modified: 2018-03-27 09:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: No option was provided to enable the service weight percentage slider after the "edit weights as integers" option was selected on the "Create Route" page. Consequence: Once editing service weights as integers, the user could not switch back to using the percentage slider. Fix: Added a button which allows the user to re-enable the percentage slider, as long as there is only one alternate service. Result: User can now switch back and forth between editing service weights as integers or a percentage slider.
Clone Of:
Environment:
Last Closed: 2018-01-29 12:46:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.9 RPM Release Advisory 2018-03-28 18:06:38 UTC

Description XiaochuanWang 2018-01-12 10:01:24 UTC
Description of problem:
Create 2 services and from Route page create a new route, check on "Split traffic across multiple services" the percentage weight bar shows, but after clicked "edit weights as integers." it can not to switch back to weight bar 

Version-Release number of selected component (if applicable):
openshift v3.9.0-0.16.0

How reproducible:
Always

Steps to Reproduce:
1. Create 2 services for a project
2. Go to Route page and create a new route, check on "Split traffic across multiple services" for route settings
3. Click "edit weights as integers." and try to switch back to the percentage weight bar 

Actual results:
2. The percentage weight bar shows which is correct
3. There is no way to find the percentage weight bar back

Expected results:
3. There should be a link button to switch back to the percentage weight bar 

Additional info:

Comment 1 Jon Jackson 2018-01-24 14:40:15 UTC
See PR https://github.com/openshift/origin-web-console/pull/2656

Comment 2 openshift-github-bot 2018-01-26 00:21:13 UTC
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/2f87aedc9e617e3b41bf953f90e2863abd1f4e44
Merge pull request #2656 from TheRealJon/bug-1533818

Automatic merge from submit-queue.

Add link to re-enable percentage slider when editing service weights on the create route page

A link now appears next to the alternate service action links to re-enable the slider once it is disabled. Fixes [Bugzilla Bug 1533818](https://bugzilla.redhat.com/show_bug.cgi?id=1533818)

![screenshot-localhost-9000-2018-01-12-17-31-45-372](https://user-images.githubusercontent.com/22625502/34897938-8ec75762-f7be-11e7-813f-0b6fb2946b71.png)

Comment 4 XiaochuanWang 2018-01-29 03:35:49 UTC
Verified on:
OpenShift Master:         v3.9.0-0.31.0
OpenShift Web Console:    v3.9.0-0.31.0.0 

The "Edit Weights Using Percentage Slider" works for balancing weight of services.


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