Defect #37925

Do not allow unkown display_type for query

Added by Alexander Meindl 26 days ago. Updated 7 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Marius BALTEANU% Done:

0%

Category:Projects
Target version:4.2.9
Resolution:Fixed Affected version:5.0.3

Description

There is a bug in validating display types for a query.

At the moment any value could set to display_type.

The attached patch fixed this and added tests for it.

fix_query_display_type.patch Magnifier (1.08 KB) Alexander Meindl, 2022-11-12 17:48


Related issues

Related to Redmine - Feature #29482: Query system for Projects page Closed

Associated revisions

Revision 21965
Added by Marius BALTEANU 9 days ago

Query display types should accept only known types (#37925).

Patch by Alexander Meindl.

Revision 21968
Added by Marius BALTEANU 9 days ago

Merge r21965 from trunk to 5.0-stable (#37925).

Revision 21969
Added by Marius BALTEANU 9 days ago

Merge r21965 from trunk to 4.2-stable (#37925).

History

#1 Updated by Go MAEDA 25 days ago

#2 Updated by Go MAEDA 25 days ago

  • Category set to Projects
  • Target version set to 4.2.9

Setting the target version to 4.2.9.

#3 Updated by Marius BALTEANU 9 days ago

  • Assignee set to Marius BALTEANU
  • Resolution set to Fixed

Fix committed, thanks!

#4 Updated by Marius BALTEANU 9 days ago

  • Status changed from New to Resolved

#5 Updated by Marius BALTEANU 7 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF