[Rt-commit] rt branch, 4.4/clean-rights-cf-admin-ui, created. rt-4.4.2-38-gdce035c

Maureen Mirville maureen at bestpractical.com
Wed Aug 30 13:57:01 EDT 2017

The branch, 4.4/clean-rights-cf-admin-ui has been created
        at  dce035c88b16083dd850f285ee03c55b1689f65d (commit)

- Log -----------------------------------------------------------------
commit dce035c88b16083dd850f285ee03c55b1689f65d
Author: Maureen E. Mirville <maureen at bestpractical.com>
Date:   Wed Aug 30 13:48:22 2017 -0400

    Correct error messages in user rights for CF admin UI
    Error message for when a user attempts to view the admin page for
    a custom field's user rights with no id or an invalid id corrected
    as previous error messages were unclear.

diff --git a/share/html/Admin/CustomFields/UserRights.html b/share/html/Admin/CustomFields/UserRights.html
index b7aeecc..613d74d 100644
--- a/share/html/Admin/CustomFields/UserRights.html
+++ b/share/html/Admin/CustomFields/UserRights.html
@@ -59,11 +59,11 @@
 my @results = ProcessACLs( \%ARGS );
 if (!defined $id) {
-    $m->comp("/Elements/Error", Why => loc("No Class defined"));
+    $m->comp("/Elements/Error", Why => loc("No custom field defined"));
 my $CustomFieldObj = RT::CustomField->new($session{'CurrentUser'});
-$CustomFieldObj->Load($id) || $m->comp("/Elements/Error", Why => loc("Couldn't load Class [_1]",$id));
+$CustomFieldObj->Load($id) || $m->comp("/Elements/Error", Why => loc("Couldn't load custom field #[_1]",$id));
 my $title = loc('Modify user rights for custom field [_1]', $CustomFieldObj->Name);


More information about the rt-commit mailing list