Bug 1205491
Summary: | [Regression] Searching for null/not-null on Clone Of field does not work correctly | ||
---|---|---|---|
Product: | [Community] Bugzilla | Reporter: | Jason McDonald <jmcdonal> |
Component: | Query/Bug List | Assignee: | Matt Tyson 🤬 <mtyson> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.4 | CC: | jmcdonal, mtyson, qgong |
Target Milestone: | 4.4 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 4.4.8030-5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-04-13 00:46:04 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jason McDonald
2015-03-25 03:15:24 UTC
This bug can be worked around by searching for "Clone of is equal to 0" instead of "is null" or "Clone Of is not equal to 0" instead of "is not null". I've ripped out our old 'is null' and 'is not null' search terms and backported the Bugzilla 5 search code. The new terms will be 'is empty' and 'is not empty'. I've also added a small compatibility layer which will cause the old is null type queries to silently use the new search code. This will address the searching problems. We will probably need to update the existing cf_clone_of values to be NULL. This can be done in the script for bug 1201150 QE added cases to cover this bug. Verified on QA environment(bzweb01-qe) with version(4.4.8030-3, DB: mysql) QA environment(bzperfweb01.app.qa) with version(4.4.8030-3, DB: psql) Result: Pass This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug. |