Project

General

Profile

Actions

Defect #13617

closed

Internal error on custum queries after Upgrade 2.2 -> 2.3

Added by F Schroedter about 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Database
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

After upgrading redmine from 2.2 to 2.3 I get a internal error on custom queries. I created the same query on 2.3 and compared the database column "filter" from table "queries":

 --- 
 status_id: 
   :operator: o
   :values: 
-  - ''
+  - "" 
 author_id: 
-  :operator: =
+  :operator: "=" 
   :values: 
   - me

Adapting the filter on the database manually solved the problem.

And yes, I did run "rake db:migrate RAILS_ENV=production" after upgrading.


Files

20140303094355_fix_query_yaml.rb (196 Bytes) 20140303094355_fix_query_yaml.rb Jan from Planio www.plan.io, 2014-03-03 11:47

Related issues

Related to Redmine - Defect #19305: settings: incompatible character encodings: UTF-8 and ASCII-8BIT: yaml generated on ruby 1.8ClosedJean-Philippe Lang

Actions
Blocked by Redmine - Defect #13667: Internal error on custum queries after Upgrade 2.2 -> 2.3 (defect column_names)Closed

Actions
Actions

Also available in: Atom PDF