#4163 Maximum serial number search accepts negative inputs and lists wrong search results.
Closed: Fixed None Opened 10 years ago by mkosek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1061772

Description of problem:
Maximum serial number search accepts negative inputs and lists wrong search
results.
when search max serial number between -1 and -9 :  it lists out cert #1-9
when search max serial number <= -10 : it lists out all certs #1-10

While Minimum serial number search would throw error:
invalid 'min_serial_number': must be at least 0 for negative inputs

See attachment for details.

Version-Release number of selected component (if applicable):
ipa-server-3.3.3-10.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1.Go to WebUI cert page
2.Search for maximum serial number with a negative integer
3.Check search result

Actual results:
Instead of throwing out an error like min serial number does, it lists out
wrong search result.

Expected results:
throw out an error like min serial number does:
invalid 'max_serial_number': must be at least 0

Additional info:

master:

  • be7b1b9 Certificate search max_serial_number problem fixed

Additional fix in master:

Metadata Update from @mkosek:
- Issue assigned to amisnyov
- Issue set to the milestone: FreeIPA 4.0 Backlog

7 years ago

Login to comment on this ticket.

Metadata