Red Hat Bugzilla – Bug 1273958
[RFE] Please add a unique CSS ID to container images in the All Containers page
Last modified: 2017-02-23 14:44:17 EST
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:
<td class="ellipsis text-center sorting_1">This Is A Test</td>
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:
<td id="ThisIsATest" class="ellipsis text-center sorting_1">This Is A Test</td>
By providing us with a unique ID we can easily find the containers in the web ui.
Created from redmine issue http://projects.theforeman.org/issues/12141
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"
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.