Grid - collection link display issue

Hello community

I would like to ask you if someone has any idea why the grid is suddenly not showing configured display name for the collection link field type, but instead of its first few characters from the linked collection entry as a JSON Object string.

Previously it was working fine and after migrating a project to a new server, we are facing to this issue. It’s not related to only one collection but to all collections with collection link field types.

The same behavior is for single or multi relation.

Current value
[[{"_id":"60c16b18666338d37b000...] or {"_id":"60c16b18666338d37b000...

Expectation/Previous value
Label or number of related entries in the blue square

Cockpit version: 0.12.1

PS: it’s also really strange that exported data for collection is not possible to import on the same project. That relations for collection link field types are not possible to map. Provided list of related collection properties does not contain the _id property.

Thank you in advance for your help.

Screenshots for a better explanation of the current situation. It should display configured property value and not the JSON object.

Screenshot 2022-12-07 at 13.48.36

For the detail/edit view, everything is fine. It displays configured property value of the linked collection entry.

Also in the collection entry, when using the JSON view, it seems fine.

e.g.

{
  ...  
  "is_active": true,
  "icon": "fa-warning",
  "bus_lines": [],
  "bus_stops": [
    {
      "_id": "602586e73434610789000342",
      "link": "bus_stops",
      "display": "Bus stop 1"
    },
    {
      "_id": "602586e7346135112a000243",
      "link": "bus_stops",
      "display": "Bus stop 2"
    },
    {
      "_id": "602586e763633284110000a6",
      "link": "bus_stops",
      "display": "Bus stop 3"
    },
    {
      "_id": "602586e7363364864b0002fa",
      "link": "bus_stops",
      "display": "Bus stop 4"
    }
  ],
  "_by": null,
  "_modified": 1670398955,
  ...
}

Only that grid view is somehow broken. And it’s related to all of the grid views not only to a specific one.