diff options
author | alee <alee@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2009-06-09 15:10:50 +0000 |
---|---|---|
committer | alee <alee@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2009-06-09 15:10:50 +0000 |
commit | 0ba0e453fe69f76da4242099ea3a59d031ad0e5b (patch) | |
tree | 3e2d4e515618db208336a3998e75b2e13e669087 /pki/dogtag/tps-ui | |
parent | 9d8606b3ca9dbf60105205ef504ca3443912a4c5 (diff) | |
download | pki-0ba0e453fe69f76da4242099ea3a59d031ad0e5b.tar.gz pki-0ba0e453fe69f76da4242099ea3a59d031ad0e5b.tar.xz pki-0ba0e453fe69f76da4242099ea3a59d031ad0e5b.zip |
Bugzilla Bug #504042 - unable to list users that where created with a space in the name
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@570 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/dogtag/tps-ui')
-rw-r--r-- | pki/dogtag/tps-ui/dogtag-pki-tps-ui.spec | 4 | ||||
-rw-r--r-- | pki/dogtag/tps-ui/shared/docroot/tokendb/editUser.template | 4 | ||||
-rwxr-xr-x | pki/dogtag/tps-ui/shared/docroot/tokendb/userDelete.template | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/pki/dogtag/tps-ui/dogtag-pki-tps-ui.spec b/pki/dogtag/tps-ui/dogtag-pki-tps-ui.spec index 386b10632..346d53d9b 100644 --- a/pki/dogtag/tps-ui/dogtag-pki-tps-ui.spec +++ b/pki/dogtag/tps-ui/dogtag-pki-tps-ui.spec @@ -34,7 +34,7 @@ ## Package Header Definitions %define base_name %{base_ui_prefix}-%{base_prefix}-%{base_component} %define base_version 1.1.0 -%define base_release 8 +%define base_release 9 %define base_group System Environment/Base %define base_vendor Red Hat, Inc. %define base_license GPLv2 with exceptions @@ -222,6 +222,8 @@ rm -rf ${RPM_BUILD_ROOT} ############################################################################### %changelog +* Sun Jun 7 2009 Ade Lee <alee@redhat.com> 1.1.0-9 +* Bugzilla Bug #504042 - unable to list users that where created with a space in the name * Mon Jun 1 2009 Matthew Harmsen <mharmsen@redhat.com> 1.1.0-8 - Bugzilla Bug #503255 - Fix confusing "Security Domain" message when using "status" diff --git a/pki/dogtag/tps-ui/shared/docroot/tokendb/editUser.template b/pki/dogtag/tps-ui/shared/docroot/tokendb/editUser.template index 941a6959e..7dd123326 100644 --- a/pki/dogtag/tps-ui/shared/docroot/tokendb/editUser.template +++ b/pki/dogtag/tps-ui/shared/docroot/tokendb/editUser.template @@ -167,7 +167,7 @@ if (typeof(results) == "undefined" || results.length == 0) { "First Name: </font>\n"); document.write("</td>\n"); document.write("<td>\n"); - document.write("<input TYPE=TEXT NAME=firstName SIZE=20 VALUE="+results[0].cn.substring(0, results[0].cn.indexOf(" "))+">\n"); + document.write("<input TYPE=TEXT NAME=firstName SIZE=20 VALUE=\""+results[0].givenName+"\">\n"); document.write("</td>\n"); document.write("</tr>\n"); @@ -177,7 +177,7 @@ if (typeof(results) == "undefined" || results.length == 0) { "Last Name: </font>\n"); document.write("</td>\n"); document.write("<td>\n"); - document.write("<input TYPE=TEXT NAME=lastName SIZE=20 VALUE="+results[0].sn+">\n"); + document.write("<input TYPE=TEXT NAME=lastName SIZE=20 VALUE=\""+results[0].sn+"\">\n"); document.write("</td>\n"); document.write("</tr>\n"); diff --git a/pki/dogtag/tps-ui/shared/docroot/tokendb/userDelete.template b/pki/dogtag/tps-ui/shared/docroot/tokendb/userDelete.template index 4416dfc12..59b606af7 100755 --- a/pki/dogtag/tps-ui/shared/docroot/tokendb/userDelete.template +++ b/pki/dogtag/tps-ui/shared/docroot/tokendb/userDelete.template @@ -111,7 +111,7 @@ if (typeof(results) == "undefined" || results.length == 0) { "First Name: </font>\n"); document.write("</td>\n"); document.write("<td>\n"); - document.write(results[0].cn.substring(0, results[0].cn.indexOf(" "))); + document.write(results[0].givenName); document.write("</td>\n"); document.write("</tr>\n"); |