diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2011-08-24 15:36:48 +0200 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-08-25 00:51:28 +0000 |
commit | a6cf44bd6538788a20fd6021b802443d4b0c63d9 (patch) | |
tree | 8d27f73864b7a572024f0762e95110d082d80e67 /ipalib | |
parent | 5ba0be24e850fa924f8e36f579cfca3768607e4b (diff) | |
download | freeipa-a6cf44bd6538788a20fd6021b802443d4b0c63d9.tar.gz freeipa-a6cf44bd6538788a20fd6021b802443d4b0c63d9.tar.xz freeipa-a6cf44bd6538788a20fd6021b802443d4b0c63d9.zip |
Validation of details facet before update https://fedorahosted.org/freeipa/ticket/1676 The ticket is a duplicate of server error, but it revealed few UI errors.test-patches-2-1
Newly performs validation of details facet before update. If validation fails, notification dialog is shown and command isn't executed.
Fixed integer minimum and maximum value checking.
Read-only and non-writable fields are no longer considered required.
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/plugins/internal.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py index 785dc1680..0964d106c 100644 --- a/ipalib/plugins/internal.py +++ b/ipalib/plugins/internal.py @@ -355,12 +355,14 @@ class i18n_messages(Command): "confirmation":_("Confirmation"), "dirty_message":_("This page has unsaved changes. Please save or revert."), "dirty_title":_("Unsaved Changes"), - "hide_details":_("Hide details"),\ + "hide_details":_("Hide details"), "redirection":_("Redirection"), "remove_empty":_("Select entries to be removed."), "remove_title":_("Remove ${entity}"), "prospective":_("Prospective"), - "show_details":_("Show details"),\ + "show_details":_("Show details"), + "validation_title":_("Validation error"), + "validation_message":_("Input form contains invalid or missing values."), }, "facet_groups": { "managedby":_("${primary_key} is managed by:"), |