mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
specify type of exceeded limit when warning about truncated search results
API commands inheriting from LDAPSearch should mention which limit was exceeded in the warning message sent with truncated results. https://fedorahosted.org/freeipa/ticket/5677 Reviewed-By: Petr Spacek <pspacek@redhat.com>
This commit is contained in:
committed by
Martin Basti
parent
1f0959735f
commit
62bb478e11
@@ -525,8 +525,8 @@ class test_old_permission(Declarative):
|
||||
},
|
||||
],
|
||||
messages=({
|
||||
'message': (u'Search result has been truncated to '
|
||||
'configured search limit.'),
|
||||
'message': (u'Search result has been truncated: '
|
||||
u'Configured size limit exceeded'),
|
||||
'code': 13017,
|
||||
'type': u'warning',
|
||||
'name': u'SearchResultTruncated'
|
||||
@@ -585,8 +585,8 @@ class test_old_permission(Declarative):
|
||||
api.env.basedn)) and
|
||||
'ipapermission' in res['objectclass']],
|
||||
messages=({
|
||||
'message': (u'Search result has been truncated to '
|
||||
'configured search limit.'),
|
||||
'message': (u'Search result has been truncated: '
|
||||
u'Configured size limit exceeded'),
|
||||
'code': 13017,
|
||||
'type': u'warning',
|
||||
'name': u'SearchResultTruncated'
|
||||
|
||||
Reference in New Issue
Block a user