In Admin => Data Model, when trying to use drag-and-drop to change column order, a 400 error happens and the order is not saved.
Metabase log:
[6fa62b77-fa42-457c-a562-d6bb4575341c] 2022-04-20T10:58:00-04:00 DEBUG metabase.server.middleware.log PUT /api/table/391 200 7.4 ms (3 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (4 idle, 0 queued) (102 total active threads) Queries in flight: 0 (0 queued)
[6fa62b77-fa42-457c-a562-d6bb4575341c] 2022-04-20T10:58:02-04:00 DEBUG metabase.server.middleware.log GET /api/database/2/metadata 200 2.2 s (846 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (4 idle, 0 queued) (103 total active threads) Queries in flight: 0 (0 queued)
[6fa62b77-fa42-457c-a562-d6bb4575341c] 2022-04-20T10:58:08-04:00 DEBUG metabase.server.middleware.log PUT /api/table/391/fields/order 400 816.8 µs (0 DB calls)
{:errors {:field_order "value must be an array. Each value must be an integer greater than zero."}}```
Diagnostic info:
```{
"browser-info": {
"language": "en-US",
"platform": "MacIntel",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.14.1+1",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.14.1",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.14.1+1",
"os.name": "Linux",
"os.version": "4.14.268-205.500.amzn2.x86_64",
"user.language": "en",
"user.timezone": "US/Pacific"
},
"metabase-info": {
"databases": [
"snowflake",
"h2"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "12.8"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.2.23"
}
},
"run-mode": "prod",
"version": {
"date": "2022-04-07",
"tag": "v0.42.4",
"branch": "release-x.42.x",
"hash": "7c3ce2d"
},
"settings": {
"report-timezone": "America/Los_Angeles"
}
}
}```