View Issue Details

IDProjectCategoryView StatusLast Update
0035179mantisbtfilterspublic2025-03-01 18:40
Reporterelpoutro Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.19.0 
Target Version2.27.1Fixed in Version2.27.1 
Summary0035179: Could not use plugins filters with "Permalink"
Description

We could not use Plugins filters such as FilterBugList (https://github.com/mantisbt-plugins/FilterBugList) with "Permalink" due to as mistake I made few years ago by resolving this issue: https://mantisbt.org/bugs/view.php?id=25072

Steps To Reproduce

1) Add the "FilterBugList" plugin in Manits (https://github.com/mantisbt-plugins/FilterBugList)
2) Use this filter by adding one or more bug number and valid this filter
3) Try to set a Permalink: => Mantis give you a URL.
4) Use this URL in other navigator
=> This error is thown: "'Undefined array key "filterbuglist_list"' in '/home/os-concept/ohris.info/mantis/search.php' line 153"

TagsNo tags attached.

Relationships

related to 0025072 closedcommunity Could not use the FilterBugList filter with "Permalink" 
related to 0035471 closeddregad Incorrect styling of Plugin Filter Fields 

Activities

Related Changesets

MantisBT: master-2.27 5dcb6cb1

2025-02-25 19:40

dregad


Details Diff
Fix Undefined array key with Plugin Filters

When following a permalink including a Plugin Filter field, search.php
throws an "Undefined array key" SYSTEM WARNING.

This is due to an incorrect default in gpc_get_*() calls to get the
filter value, introduced in commit a759e186f1f7b0e1f07a182b454131e8b5e6d020
(Issue 0025072).

Fixes 0035179
Affected Issues
0025072, 0035179
mod - search.php Diff File