Bug 1389658
Summary: | Certificate content in Routes warning message should be wrapped | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yadan Pei <yapei> | ||||||
Component: | Management Console | Assignee: | Robb Hamilton <rhamilto> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 3.4.0 | CC: | aos-bugs, jforrest, jokerman, mmccomas, rhamilto, tdawson | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: |
Cause: Routes popover warning messages are being truncated at the end of the string.
Consequence: The relevant portion of the warning message is being truncated because the inclusion of the very long certificate content results in the warning message being truncated before the relevant portion of the warning message can be displayed.
Fix: Change the truncation of the warning message from truncating at the end of the string to truncating in the middle of the string.
Result: The relevant portion of the warning message is now visible.
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2017-01-18 12:47:16 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
Yadan Pei
2016-10-28 06:26:37 UTC
Created attachment 1214851 [details]
MessageOverflow
Steve I think this is just a general problem with our bootstrap popovers if they have long unbroken strings in them. PR to resolve: https://github.com/openshift/origin-web-console/pull/761 This has been merged into ose and is in OSE v3.4.0.18 or newer. Checked against v3.4.0.18+ada983f Now the long strings wraps into multiple lines, but for very long strings we couldn't see all its content even we scroll down, the popover content disappears when we scroll down. Please check attachment Created attachment 1215991 [details]
PartialContent
We probably need to look into truncating these errors in the middle when they go beyond a certain length. And then on the page for the route show the warnings in a warning alert instead of in the tooltip so that the user has a way to see the full message. FYI routes shouldn't be failing validation on self-signed certs at all and there is a bug open for that https://bugzilla.redhat.com/show_bug.cgi?id=1389165 But there are still cases where the route will be rejected with very long messages so we still need to handle truncating these warnings. PR to middle truncate https://github.com/openshift/origin-web-console/pull/794 We are now truncating the message in the middle to hopefully catch the most relevant parts of the error messages. This has been merged into ose and is in OSE v3.4.0.22 or newer. Moving on to QE since it's already on the errata. Checked against v3.4.0.22+5c56720 Now warning message are truncated to cover the most relevant parts of the error message, and we could see the full message Move to VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0066 |