Files
openproject/db
Oliver Günther 05a54adced Serialize column_names as arrays
Currently, column_names on production systems are either

1. YAML-serialized Arrays of column names (duh)
2. An empty string ''
3. nil

The two latter are invalid with Rails 5 and cause the following error:

```
NoMethodError (undefined method `map' for "":String):

app/controllers/api/experimental/concerns/v3_naming.rb:70:in `json_query_as_v3'
app/controllers/api/experimental/work_packages_controller.rb:85:in `query_as_json'
app/controllers/api/experimental/work_packages_controller.rb:51:in `index'
app/middleware/reset_current_user.rb:47:in `call'
```

This commit forces Array serialization and fixes previous queries with
the empty values.
2016-11-01 11:22:37 +01:00
..
2016-11-01 11:22:37 +01:00