Bug 1273958 - [RFE] Please add a unique CSS ID to container images in the All Containers page
Summary: [RFE] Please add a unique CSS ID to container images in the All Containers page
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Container Management
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Og Maciel
QA Contact: Oleksandr Shtaier
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-21 15:09 UTC by Mike McCune
Modified: 2019-06-13 21:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-15 13:13:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 12141 0 None None None 2016-04-22 16:30:51 UTC

Description Mike McCune 2015-10-21 15:09:56 UTC
Our automation for Docker creation using the web ui needs an easy way to confirm that a given container has been created and can be found in the All Containers page. Assuming that one creates a new container with the name "ThisIsATest" or "thisisanothertest", the web ui uses a 'friendlier' name to display the container names so that the end result would be a label that shows their names as "This Is A Test" or "Thisisanothertest". The underlying HTML generated shows:

<pre>
<td class="ellipsis text-center sorting_1">This Is A Test</td>
</pre>

My request is that we also add a unique ID that would display the exact name as it was provided during the creation of the container as shown below:

<pre>
<td id="ThisIsATest" class="ellipsis text-center sorting_1">This Is A Test</td>
</pre>

By providing us with a unique ID we can easily find the containers in the web ui.

Comment 1 Mike McCune 2015-10-21 15:09:59 UTC
Created from redmine issue http://projects.theforeman.org/issues/12141

Comment 4 Oleksandr Shtaier 2015-11-30 18:56:26 UTC
Verified on 6.1.4

Functionality works as expected and unique id is added per each container on 'All Containers' page corresponding to name that was used in time of such container create procedure.

Some test automation scripts that requiring that ID started to work as intended.

We have next transformation on UI (which is expected behavior):
(Real Name) "Test-test1-Test" -> (On UI) "Test Test1 Test" -> (ID) "Test-test1-Test"

(Real Name) "Test_test1_Test" -> (On UI) "Test Test1 Test" -> (ID) "Test_test1_Test"

(Real Name) "testTesttest1Test1" -> (On UI) "Test Testtest1 Test1" -> (ID) "testTesttest1Test1"

Comment 5 Bryan Kearney 2015-12-15 13:13:43 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/RHSA-2015:2622


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