View Issue Details

IDProjectCategoryView StatusLast Update
0022566mantisbtfilterspublic2017-04-01 00:13
ReportercproensaAssigned Tocproensa 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version2.2.0 
Target Version2.2.3Fixed in Version2.2.3 
Summary0022566: Filter error due to "view status" having an array value
Description

A filter error is raised when "view status" have an array value in the current filter properties.
The value is stored as an array after some situation by using permalinks.

TagsNo tags attached.

Activities

atrol

atrol

2017-03-22 09:03

developer   ~0056159

Last edited: 2017-03-22 09:03

View 2 revisions

@cproensa

Is this the issue?

APPLICATION ERROR # 202

A string was expected but an array was received for view_state.
  • Reset filter
  • Create permalink
  • Click on the link (notice that now you have an advanced filter)
  • Click simple filter
cproensa

cproensa

2017-03-22 09:04

developer   ~0056160

PR: https://github.com/mantisbt/mantisbt/pull/1061

cproensa

cproensa

2017-03-22 09:06

developer   ~0056161

Last edited: 2017-03-22 09:06

View 2 revisions

Is this the issue?
APPLICATION ERROR # 202
A string was expected but an array was received for view_state.

yes....

Related Changesets

MantisBT: master-2.2 449f4d51

2017-03-22 22:18:28

cproensa


Committer: vboctor Details Diff
Validate filter values that must not be arrays

Add validation for values that must be a single value.
Clean up type validation for both single and multiple values.

Fixes: 0022566
mod - core/filter_api.php Diff File
mod - view_all_set.php Diff File

Issue History

Date Modified Username Field Change
2017-03-22 08:54 cproensa New Issue
2017-03-22 08:54 cproensa Status new => assigned
2017-03-22 08:54 cproensa Assigned To => cproensa
2017-03-22 09:03 atrol Note Added: 0056159
2017-03-22 09:03 atrol Note Edited: 0056159 View Revisions
2017-03-22 09:04 cproensa Note Added: 0056160
2017-03-22 09:06 cproensa Note Added: 0056161
2017-03-22 09:06 cproensa Note Edited: 0056161 View Revisions
2017-03-22 22:23 vboctor Changeset attached => MantisBT master-2.2 449f4d51
2017-03-22 22:23 cproensa Status assigned => resolved
2017-03-22 22:23 cproensa Resolution open => fixed
2017-03-22 22:23 cproensa Fixed in Version => 2.2.3
2017-03-22 23:18 vboctor Target Version => 2.2.3
2017-04-01 00:13 vboctoradmin Status resolved => closed