#2808 [ipa webui] Delegation - find using leading/trailing criteria throws error on page
Closed: Invalid None Opened 11 years ago by rcritten.

https://bugzilla.redhat.com/show_bug.cgi?id=828611 (Red Hat Enterprise Linux 6)

Description of problem:
Search for a delegation, using leading/trailing space. The expected error is
displayed, but as part of the page, instead of as a messagebox

An error has occured (IPA Error 3009)

invalid 'criteria': Leading and trailing spaces are not allowed
Please try the following options:

    Refresh the page.
    Return to the main page and retry the operation
    Reload the browser.

If the problem persists please contact the system administrator.

/var/log/httpd/error_log has:
[Mon Jun 04 22:13:57 2012] [error] ipa: INFO: admin@TESTRELM.COM:
delegation_find(u'one ', pkey_only=True): ValidationError

Version-Release number of selected component (if applicable):
ipa-server-2.2.0-16.el6.i686

How reproducible:
always

Steps to Reproduce:
1. After adding a few delegations, say one, two, three, search for "one "


Actual results:
error as indicated above is displayed on page

Expected results:
error should be displayed in a messagebox

Additional info:

This is no longer an issue, as find commands are ok with heading or trailing space:

# ipa delegation-find "aaa "
---------------------
0 delegations matched
---------------------
----------------------------
Number of entries returned 0
----------------------------

Metadata Update from @rcritten:
- Issue assigned to pvoborni
- Issue set to the milestone: Ticket Backlog

7 years ago

Login to comment on this ticket.

Metadata