Project

General

Profile

Actions

Defect #1078

closed

Custom fields added each issue even if not used

Added by John Reynolds over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
Start date:
2008-04-19
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I added two custom fields used in the issue area. Our policy is to leave the two fields blank unless we have something to add to them.

I have a custom query/filter which states that they should be shown if either of the custom fields are NOT blank.

What happens is that apparently if you even tab into the fields on the issue page it creates an entry in custom_values of an empty string. Once that happens, the query/filter assumes that the values aren't blank. It seems to me that if the custom fields are left blank, there shouldn't be an entry created in the custom_values table.

I had trouble understanding the query/filter. I set it so that it reads "is not" and "blank". Apparently leaving the filter field blank doesn't work, but putting in the text, "blank" actually tells it to do the right thing. Very odd.

I can provide a movie/screenshot series if you like.

Actions #1

Updated by Jean-Philippe Lang over 16 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Custom field filters wasn't working as expected indeed.
It's fixed in r1362. You can use the operator "all" rather than "is not" + "blank" to see tickets that doesn't have a blank value.

Actions

Also available in: Atom PDF