mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix "Configured size limit exceeded" warning on Web UI
Suppress size limit warning in 'refresh' command. Ticket: https://pagure.io/freeipa/issue/7603 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
@@ -1105,5 +1105,14 @@ rpc.extract_objects = function(values) {
|
||||
return values;
|
||||
};
|
||||
|
||||
/**
|
||||
* Server side error/warning codes
|
||||
*
|
||||
* Add new errors from ipalib.messages only if necessary.
|
||||
*/
|
||||
rpc.errors = {
|
||||
search_result_truncated: 13017
|
||||
};
|
||||
|
||||
return rpc;
|
||||
});
|
||||
|
||||
@@ -291,7 +291,8 @@ IPA.search_facet = function(spec, no_init) {
|
||||
name: that.get_search_command_name(),
|
||||
entity: that.managed_entity.name,
|
||||
method: 'find',
|
||||
args: args
|
||||
args: args,
|
||||
suppress_warnings: [rpc.errors.search_result_truncated]
|
||||
});
|
||||
|
||||
command.set_options(that.get_refresh_command_options());
|
||||
|
||||
@@ -5021,7 +5021,7 @@ IPA.entity_select_widget = function(spec) {
|
||||
method: 'find',
|
||||
args: [filter],
|
||||
options: that.filter_options,
|
||||
suppress_warnings: [13017]
|
||||
suppress_warnings: [rpc.errors.search_result_truncated]
|
||||
});
|
||||
var no_members = metadata.get('@mc-opt:' + cmd.get_command() + ':no_members');
|
||||
if (no_members) {
|
||||
|
||||
Reference in New Issue
Block a user