summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2011-08-24 15:36:48 +0200
committerEndi S. Dewata <edewata@redhat.com>2011-08-25 00:50:52 +0000
commit950a5da34d3b89ae23cf8834d501233bda831f9e (patch)
tree4531eaffb80d6573e28b48c1a29cfd7c8a9b8b62 /ipalib
parente5382885f589c45c96ba0ba04c89bdb1f1546ce5 (diff)
downloadfreeipa-950a5da34d3b89ae23cf8834d501233bda831f9e.tar.gz
freeipa-950a5da34d3b89ae23cf8834d501233bda831f9e.tar.xz
freeipa-950a5da34d3b89ae23cf8834d501233bda831f9e.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.
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.py6
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:"),