View Issue Details

IDProjectCategoryView StatusLast Update
0017810mantisbtfilterspublic2017-08-16 13:56
Reportermt_s01 Assigned Tocproensa  
Status acknowledgedResolutionopen 
PlatformLINUXOSCENTOSOS Version6.5
Product Version1.2.15 
Summary0017810: Filtering by custom field value "none" also returns issues not linked with that custom field

filters and custom field by project

Postby mt_s01 ยป Sep 25, 2014 10:46 am

From the "All bugs" page, I use the filter with several custom fields which belong to different projects.
For example, I have the custom field "custom_field_1" linked to "PROJECT 1". When I set the filter on the "custom_field_1" at "none", MANTIS displays all bugs from PROJECT A where "custom_field_1" is null but it displays all bug from PROJECT B where the custom field is not present too.

Is this a bug ?

Thanks for help.

Steps To Reproduce

1) Crete project1 and project2
2) Create a custom field cp1 specific to project1
Display it in filter.
3) View all bugs page
4) Set custom field cp1 to none
5) It displays all bugs even bugs of project2 where the field is not define.

TagsNo tags attached.




2017-08-16 13:42

developer   ~0057480

The filter system is considering an issue that does not have the custom field linked (by the field configuration for linked projects), is matching the condition of "field value = none".

I'm not sure this is a bug, as that issue does effectively not have any value for the queried custom field.
However, it's also true that it doesn't have the possibility to have any value, so if you search for issues with a value of "none", you may actually want to get only issues that have that field linked.

I'd like to hear other team opinions on this.



2017-08-16 13:56

developer   ~0057481

I have updated the summary to better explain the issue