Bug 1373434

Summary: [atomic registry]Error message prompted when creating project with more than 63 characters are displayed out of boarder on Safari 9.1
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Dominik Perpeet <dperpeet>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3.0CC: aos-bugs, bleanhar, dperpeet, jokerman, mmccomas, pweil, tdawson, xiaocwan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-18 12:53:33 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
MessageOutOfBoarder
none
63 length out of border on overview
none
CreateProjectWithMoreThan63Chars
none
CheckProjectWith63CharsOnOverview none

Description Yadan Pei 2016-09-06 09:34:17 UTC
Description of problem:
When creating project with more than 63 characters, it will give error message indicating project name must be no more than 63 characters, this message is not shown well on Safari 9.1, only reproduces in Safari

Version-Release number of selected component (if applicable):
openshift3/registry-console:3.3

How reproducible:
Always

Steps to Reproduce:
1.Login to registry-console
2.Click "New project"
3.Set Name with more than 63 characters "uebqghutexcfoychgdnjlxtlmcdplujajqqrcfqomckmbdnagdiqyooklqbuhvwbztxtmk"
4. Hit on "Create"

Actual results:
4. Error message is displayed out of message boarder 


Expected results:
4. Error message should be displayed well

Additional info:

Comment 1 Yadan Pei 2016-09-06 09:34:42 UTC
Created attachment 1198151 [details]
MessageOutOfBoarder

Comment 2 Andreas Nilsson 2016-09-20 09:33:59 UTC
I'm able to reproduce this, and I think I have a good fix for it.
Will open a PR upstream.

Comment 3 Andreas Nilsson 2016-09-21 15:06:27 UTC
Pull request here https://github.com/cockpit-project/cockpit/pull/5070

Comment 4 XiaochuanWang 2016-09-23 09:17:07 UTC
Created attachment 1204052 [details]
63 length out of border on overview

check "Images by project" border

Comment 5 XiaochuanWang 2016-09-23 09:22:59 UTC
Mac safari has a display issue on overview page when length of project name is 63 characters. Project name out of the border. 
Suggest to append "..." at the end of the name inside "Images by project" border.

Please refer to attachment 1204052 [details] (63 length out of border on overview )

Tested on Mac Safari 9 against registry version openshift3/registry-console:3.3

Comment 6 Dominik Perpeet 2016-11-02 07:40:58 UTC
To clarify: fixed upstream in Cockpit 119

Comment 8 Dominik Perpeet 2016-11-23 19:16:38 UTC
Fixed in any image that uses Cockpit >= 119

Comment 9 Troy Dawson 2016-12-12 20:13:32 UTC
This is fixed in image openshift3/registry-console:3.4-1 or newer.

Comment 11 Yadan Pei 2016-12-13 01:23:53 UTC
Checked against image openshift3/registry-console:3.4-1

1. Create a project with more than 63 characters, show error message correctly on Safari 10.0.1

2. Create a project with 63 characters, check project name on overview, project name is shown correctly

Move to VERIFIED

Comment 12 Yadan Pei 2016-12-13 01:26:53 UTC
Created attachment 1231008 [details]
CreateProjectWithMoreThan63Chars

Comment 13 Yadan Pei 2016-12-13 01:27:38 UTC
Created attachment 1231009 [details]
CheckProjectWith63CharsOnOverview

Comment 15 errata-xmlrpc 2017-01-18 12:53:33 UTC
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